Commit 36063b7d authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

midimap: Win64 printf format warning fixes.

parent 702aafe3
...@@ -4,7 +4,6 @@ SRCDIR = @srcdir@ ...@@ -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
......
...@@ -262,7 +262,7 @@ static DWORD modOpen(LPDWORD lpdwUser, LPMIDIOPENDESC lpDesc, DWORD dwFlags) ...@@ -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) ...@@ -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) ...@@ -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)
......
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