Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2016 16:11:17 +0000 (UTC)
From:      Andrew Rybchenko <arybchik@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r301356 - stable/10/sys/dev/sfxge/common
Message-ID:  <201606041611.u54GBHNt029663@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arybchik
Date: Sat Jun  4 16:11:16 2016
New Revision: 301356
URL: https://svnweb.freebsd.org/changeset/base/301356

Log:
  MFC r299730
  
  sfxge(4): fix build with -Werror=pointer-sign
  
  -Werror=pointer-sign is enabled in OmniOS GLD driver build.
  
  Sponsored by:   Solarflare Communications, Inc.

Modified:
  stable/10/sys/dev/sfxge/common/ef10_nvram.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/ef10_nvram.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/ef10_nvram.c	Sat Jun  4 16:08:41 2016	(r301355)
+++ stable/10/sys/dev/sfxge/common/ef10_nvram.c	Sat Jun  4 16:11:16 2016	(r301356)
@@ -1025,7 +1025,7 @@ ef10_nvram_buffer_insert_item(
 		goto fail1;
 	}
 
-	rc = tlv_insert(&cursor, TLV_TAG_LICENSE, keyp, length);
+	rc = tlv_insert(&cursor, TLV_TAG_LICENSE, (uint8_t *)keyp, length);
 
 	if (rc != 0) {
 		goto fail2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041611.u54GBHNt029663>