midimap: Win64 printf format warning fixes.

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

View File

@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = midimap.dll MODULE = midimap.dll
IMPORTS = winmm user32 advapi32 kernel32 IMPORTS = winmm user32 advapi32 kernel32
EXTRADEFS = -DWINE_NO_LONG_AS_INT
C_SRCS = \ C_SRCS = \
midimap.c midimap.c

View File

@ -262,7 +262,7 @@ static DWORD modOpen(LPDWORD lpdwUser, LPMIDIOPENDESC lpDesc, DWORD dwFlags)
{ {
MIDIMAPDATA* mom = HeapAlloc(GetProcessHeap(), 0, sizeof(MIDIMAPDATA)); MIDIMAPDATA* mom = HeapAlloc(GetProcessHeap(), 0, sizeof(MIDIMAPDATA));
TRACE("(%p %p %08lx)\n", lpdwUser, lpDesc, dwFlags); TRACE("(%p %p %08x)\n", lpdwUser, lpDesc, dwFlags);
if (!mom) return MMSYSERR_NOMEM; if (!mom) return MMSYSERR_NOMEM;
@ -385,7 +385,7 @@ static DWORD modData(MIDIMAPDATA* mom, DWORD dwParam)
} }
break; break;
default: default:
FIXME("ooch %lu\n", dwParam); FIXME("ooch %u\n", dwParam);
} }
return ret; return ret;
@ -452,7 +452,7 @@ static DWORD modReset(MIDIMAPDATA* mom)
DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD dwUser, DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
DWORD dwParam1, DWORD dwParam2) DWORD dwParam1, DWORD dwParam2)
{ {
TRACE("(%u, %04X, %08lX, %08lX, %08lX);\n", TRACE("(%u, %04X, %08X, %08X, %08X);\n",
wDevID, wMsg, dwUser, dwParam1, dwParam2); wDevID, wMsg, dwUser, dwParam1, dwParam2);
switch (wMsg) switch (wMsg)