svn commit: r299730 - head/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sat May 14 06:16:15 UTC 2016
Author: arybchik
Date: Sat May 14 06:16:14 2016
New Revision: 299730
URL: https://svnweb.freebsd.org/changeset/base/299730
Log:
sfxge(4): fix build with -Werror=pointer-sign
-Werror=pointer-sign is enabled in OmniOS GLD driver build.
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Modified:
head/sys/dev/sfxge/common/ef10_nvram.c
Modified: head/sys/dev/sfxge/common/ef10_nvram.c
==============================================================================
--- head/sys/dev/sfxge/common/ef10_nvram.c Sat May 14 06:14:28 2016 (r299729)
+++ head/sys/dev/sfxge/common/ef10_nvram.c Sat May 14 06:16:14 2016 (r299730)
@@ -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