Eric Pouech : imaadp32.acm: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Fri Feb 11 14:33:57 CST 2022
Module: wine
Branch: master
Commit: d0819c7e5b335a2633f2d130c93c319aca7e35aa
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d0819c7e5b335a2633f2d130c93c319aca7e35aa
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Fri Feb 11 08:40:05 2022 +0100
imaadp32.acm: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/imaadp32.acm/Makefile.in | 1 -
dlls/imaadp32.acm/imaadp32.c | 12 ++++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/dlls/imaadp32.acm/Makefile.in b/dlls/imaadp32.acm/Makefile.in
index e01f5494653..ff982fd138e 100644
--- a/dlls/imaadp32.acm/Makefile.in
+++ b/dlls/imaadp32.acm/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = imaadp32.acm
IMPORTS = winmm user32
diff --git a/dlls/imaadp32.acm/imaadp32.c b/dlls/imaadp32.acm/imaadp32.c
index b6d70dcbe2f..0b5e6a83ae6 100644
--- a/dlls/imaadp32.acm/imaadp32.c
+++ b/dlls/imaadp32.acm/imaadp32.c
@@ -569,7 +569,7 @@ static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
}
break;
default:
- WARN("Unsupported query %08x\n", dwQuery);
+ WARN("Unsupported query %08lx\n", dwQuery);
return MMSYSERR_NOTSUPPORTED;
}
@@ -628,12 +628,12 @@ static LRESULT ADPCM_FormatDetails(PACMFORMATDETAILSW afd, DWORD dwQuery)
init_wfx_ima_adpcm((IMAADPCMWAVEFORMAT *)afd->pwfx);
break;
default:
- WARN("Unsupported tag %08x\n", afd->dwFormatTag);
+ WARN("Unsupported tag %08lx\n", afd->dwFormatTag);
return MMSYSERR_INVALPARAM;
}
break;
default:
- WARN("Unsupported query %08x\n", dwQuery);
+ WARN("Unsupported query %08lx\n", dwQuery);
return MMSYSERR_NOTSUPPORTED;
}
afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC;
@@ -877,7 +877,7 @@ static LRESULT ADPCM_StreamSize(const ACMDRVSTREAMINSTANCE *adsi, PACMDRVSTREAMS
}
break;
default:
- WARN("Unsupported query %08x\n", adss->fdwSize);
+ WARN("Unsupported query %08lx\n", adss->fdwSize);
return MMSYSERR_NOTSUPPORTED;
}
return MMSYSERR_NOERROR;
@@ -898,7 +898,7 @@ static LRESULT ADPCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
ACM_STREAMCONVERTF_END|
ACM_STREAMCONVERTF_START))
{
- FIXME("Unsupported fdwConvert (%08x), ignoring it\n", adsh->fdwConvert);
+ FIXME("Unsupported fdwConvert (%08lx), ignoring it\n", adsh->fdwConvert);
}
/* ACM_STREAMCONVERTF_BLOCKALIGN
* currently all conversions are block aligned, so do nothing for this flag
@@ -923,7 +923,7 @@ static LRESULT ADPCM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEAD
LRESULT CALLBACK ADPCM_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
LPARAM dwParam1, LPARAM dwParam2)
{
- TRACE("(%08lx %p %04x %08lx %08lx);\n",
+ TRACE("(%08Ix %p %04x %08Ix %08Ix);\n",
dwDevID, hDriv, wMsg, dwParam1, dwParam2);
switch (wMsg)
More information about the wine-cvs
mailing list