Michael Stefaniuc : dlls/msacm32: Avoid a sizeof()+cast in an ok() call.
Alexandre Julliard
julliard at winehq.org
Tue Oct 6 10:35:49 CDT 2009
Module: wine
Branch: master
Commit: a29b421425b1b02951be65c9ee73aefab7c265ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a29b421425b1b02951be65c9ee73aefab7c265ce
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Tue Oct 6 10:35:29 2009 +0200
dlls/msacm32: Avoid a sizeof()+cast in an ok() call.
---
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) {
More information about the wine-cvs
mailing list