Commit dc4f752e authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Fix gcc 4 warnings.

parent a4dfeca2
...@@ -184,7 +184,7 @@ DWORD WINAPI wrapCAPI_GET_MANUFACTURER (char *SzBuffer) { ...@@ -184,7 +184,7 @@ DWORD WINAPI wrapCAPI_GET_MANUFACTURER (char *SzBuffer) {
if (!pcapi20_get_manufacturer) if (!pcapi20_get_manufacturer)
return 0x1109; return 0x1109;
fret = (pcapi20_get_manufacturer (0, SzBuffer) != 0) ? 0 : 0x1108; fret = (pcapi20_get_manufacturer (0, (unsigned char *) SzBuffer) != 0) ? 0 : 0x1108;
if (!strncmp (SzBuffer, "AVM", 3)) { if (!strncmp (SzBuffer, "AVM", 3)) {
strcpy (SzBuffer, "AVM-GmbH"); strcpy (SzBuffer, "AVM-GmbH");
} }
...@@ -227,7 +227,7 @@ DWORD WINAPI wrapCAPI_GET_SERIAL_NUMBER (char *SzBuffer) { ...@@ -227,7 +227,7 @@ DWORD WINAPI wrapCAPI_GET_SERIAL_NUMBER (char *SzBuffer) {
load_functions(); load_functions();
if (!pcapi20_get_serial_number) if (!pcapi20_get_serial_number)
return 0x1109; return 0x1109;
fret = (pcapi20_get_serial_number (0, SzBuffer) != 0) ? 0 : 0x1108; fret = (pcapi20_get_serial_number (0, (unsigned char*) SzBuffer) != 0) ? 0 : 0x1108;
TRACE ("(%s) -> %lx\n", SzBuffer, fret); TRACE ("(%s) -> %lx\n", SzBuffer, fret);
return fret; return fret;
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment