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
This commit is contained in:
Andrew Rybchenko 2016-05-14 06:16:14 +00:00
parent 0c9092472f
commit 39abff47d7

View File

@ -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;