cfgmgr32: Win64 printf format warning fixes.

This commit is contained in:
Michael Stefaniuc 2006-10-05 00:59:38 +02:00 committed by Alexandre Julliard
parent 85db0937d0
commit 702aafe3c0
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE = cfgmgr32.dll MODULE = cfgmgr32.dll
IMPORTLIB = libcfgmgr32.$(IMPLIBEXT) IMPORTLIB = libcfgmgr32.$(IMPLIBEXT)
IMPORTS = setupapi kernel32 IMPORTS = setupapi kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \ C_SRCS = \
main.c main.c

View File

@ -51,7 +51,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
CONFIGRET WINAPI CM_Get_Device_ID_ListA( CONFIGRET WINAPI CM_Get_Device_ID_ListA(
PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags ) PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
{ {
FIXME("%p %p %ld %ld\n", pszFilter, Buffer, BufferLen, ulFlags ); FIXME("%p %p %d %d\n", pszFilter, Buffer, BufferLen, ulFlags );
memset(Buffer,0,2); memset(Buffer,0,2);
return CR_SUCCESS; return CR_SUCCESS;
} }
@ -62,7 +62,7 @@ CONFIGRET WINAPI CM_Get_Device_ID_ListA(
CONFIGRET WINAPI CM_Get_Device_ID_Size( ULONG* pulLen, LPVOID dnDevInst, CONFIGRET WINAPI CM_Get_Device_ID_Size( ULONG* pulLen, LPVOID dnDevInst,
ULONG ulFlags) ULONG ulFlags)
{ {
FIXME("%p %p %lu\n",pulLen, dnDevInst, ulFlags); FIXME("%p %p %u\n",pulLen, dnDevInst, ulFlags);
*pulLen = 1; *pulLen = 1;
return CR_SUCCESS; return CR_SUCCESS;
} }
@ -73,7 +73,7 @@ CONFIGRET WINAPI CM_Get_Device_ID_Size( ULONG* pulLen, LPVOID dnDevInst,
CONFIGRET WINAPI CM_Get_Device_IDA( LPVOID dnDevInst, LPSTR Buffer, CONFIGRET WINAPI CM_Get_Device_IDA( LPVOID dnDevInst, LPSTR Buffer,
ULONG BufferLen, ULONG ulFlags) ULONG BufferLen, ULONG ulFlags)
{ {
FIXME("%p, %p, %lu %lu\n",dnDevInst, Buffer, BufferLen, ulFlags); FIXME("%p, %p, %u %u\n",dnDevInst, Buffer, BufferLen, ulFlags);
Buffer[0] = 0; Buffer[0] = 0;
return CR_SUCCESS; return CR_SUCCESS;
} }