From 72ed451be7b8bcbd3623455ec241889fcfb6b461 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 6 Oct 2006 23:01:20 +0200 Subject: [PATCH] winemp3.acm: Win64 printf format warning fixes. --- dlls/winemp3.acm/Makefile.in | 1 - dlls/winemp3.acm/mpegl3.c | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/dlls/winemp3.acm/Makefile.in b/dlls/winemp3.acm/Makefile.in index 391d9f791c8..38b5acef578 100644 --- a/dlls/winemp3.acm/Makefile.in +++ b/dlls/winemp3.acm/Makefile.in @@ -4,7 +4,6 @@ SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = winemp3.acm IMPORTS = winmm user32 kernel32 -EXTRADEFS = -DWINE_NO_LONG_AS_INT C_SRCS = \ common.c \ diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c index 2c8fc3e504f..d9390ae76f5 100644 --- a/dlls/winemp3.acm/mpegl3.c +++ b/dlls/winemp3.acm/mpegl3.c @@ -181,7 +181,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi, *ndst = dpos; buffered_after = get_num_buffered_bytes(&amd->mp); - TRACE("before %ld put %ld during %ld after %ld\n", buffered_before, *nsrc, buffered_during, buffered_after); + TRACE("before %d put %d during %d after %d\n", buffered_before, *nsrc, buffered_during, buffered_after); } /*********************************************************************** @@ -243,7 +243,7 @@ static LRESULT MPEG3_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery) } break; default: - WARN("Unsupported query %08lx\n", dwQuery); + WARN("Unsupported query %08x\n", dwQuery); return MMSYSERR_NOTSUPPORTED; } @@ -320,12 +320,12 @@ static LRESULT MPEG3_FormatDetails(PACMFORMATDETAILSW afd, DWORD dwQuery) fill_in_wfx(afd->cbwfx, afd->pwfx, 192000); break; default: - WARN("Unsupported tag %08lx\n", afd->dwFormatTag); + WARN("Unsupported tag %08x\n", afd->dwFormatTag); return MMSYSERR_INVALPARAM; } break; default: - WARN("Unsupported query %08lx\n", dwQuery); + WARN("Unsupported query %08x\n", dwQuery); return MMSYSERR_NOTSUPPORTED; } afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC; @@ -518,7 +518,7 @@ static LRESULT MPEG3_StreamSize(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMSIZE ad } break; default: - WARN("Unsupported query %08lx\n", adss->fdwSize); + WARN("Unsupported query %08x\n", adss->fdwSize); return MMSYSERR_NOTSUPPORTED; } return MMSYSERR_NOERROR; @@ -539,7 +539,7 @@ static LRESULT MPEG3_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD ACM_STREAMCONVERTF_END| ACM_STREAMCONVERTF_START)) { - FIXME("Unsupported fdwConvert (%08lx), ignoring it\n", adsh->fdwConvert); + FIXME("Unsupported fdwConvert (%08x), ignoring it\n", adsh->fdwConvert); } /* ACM_STREAMCONVERTF_BLOCKALIGN * currently all conversions are block aligned, so do nothing for this flag