Fix gcc 4 warnings.

This commit is contained in:
Uwe Bonnes 2005-10-26 10:05:27 +00:00 committed by Alexandre Julliard
parent a4dfeca2ca
commit dc4f752e9d
1 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ DWORD WINAPI wrapCAPI_GET_MANUFACTURER (char *SzBuffer) {
if (!pcapi20_get_manufacturer)
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)) {
strcpy (SzBuffer, "AVM-GmbH");
}
@ -227,7 +227,7 @@ DWORD WINAPI wrapCAPI_GET_SERIAL_NUMBER (char *SzBuffer) {
load_functions();
if (!pcapi20_get_serial_number)
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);
return fret;
#else