svn commit: r301356 - stable/10/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sat Jun 4 16:11:18 UTC 2016
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;
More information about the svn-src-all
mailing list