dlls/msacm32: Avoid a sizeof()+cast in an ok() call.
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 6 03:35:29 CDT 2009
---
dlls/msacm32/tests/msacm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/msacm32/tests/msacm.c b/dlls/msacm32/tests/msacm.c
index c528f78..b68ff8c 100644
--- a/dlls/msacm32/tests/msacm.c
+++ b/dlls/msacm32/tests/msacm.c
@@ -126,10 +126,9 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
/* cbStruct should contain size of returned data (at most sizeof(dd))
TODO: should it be *exactly* sizeof(dd), as tested here?
*/
- if (rc == MMSYSERR_NOERROR) {
+ if (rc == MMSYSERR_NOERROR) {
ok(dd.cbStruct == sizeof(dd),
- "acmDriverDetails(): cbStruct = %08x, should be %08lx\n",
- dd.cbStruct, (unsigned long)sizeof(dd));
+ "acmDriverDetails(): cbStruct = %08x\n", dd.cbStruct);
}
if (rc == MMSYSERR_NOERROR && winetest_interactive) {
--
1.6.2.5
More information about the wine-patches
mailing list