From 36063b7dc1c72ffa496f903342398edba756a50c Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 5 Oct 2006 00:59:49 +0200 Subject: [PATCH] midimap: Win64 printf format warning fixes. --- dlls/midimap/Makefile.in | 1 - dlls/midimap/midimap.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/midimap/Makefile.in b/dlls/midimap/Makefile.in index 6688e84c1c2..5c664845e7d 100644 --- a/dlls/midimap/Makefile.in +++ b/dlls/midimap/Makefile.in @@ -4,7 +4,6 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = midimap.dll IMPORTS = winmm user32 advapi32 kernel32 -EXTRADEFS = -DWINE_NO_LONG_AS_INT C_SRCS = \ midimap.c diff --git a/dlls/midimap/midimap.c b/dlls/midimap/midimap.c index a51dd764e8b..299bb1996bd 100644 --- a/dlls/midimap/midimap.c +++ b/dlls/midimap/midimap.c @@ -262,7 +262,7 @@ static DWORD modOpen(LPDWORD lpdwUser, LPMIDIOPENDESC lpDesc, DWORD dwFlags) { 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; @@ -385,7 +385,7 @@ static DWORD modData(MIDIMAPDATA* mom, DWORD dwParam) } break; default: - FIXME("ooch %lu\n", dwParam); + FIXME("ooch %u\n", dwParam); } return ret; @@ -452,7 +452,7 @@ static DWORD modReset(MIDIMAPDATA* mom) DWORD WINAPI MIDIMAP_modMessage(UINT wDevID, UINT wMsg, DWORD dwUser, DWORD dwParam1, DWORD dwParam2) { - TRACE("(%u, %04X, %08lX, %08lX, %08lX);\n", + TRACE("(%u, %04X, %08X, %08X, %08X);\n", wDevID, wMsg, dwUser, dwParam1, dwParam2); switch (wMsg)