Commit a29b4214 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dlls/msacm32: Avoid a sizeof()+cast in an ok() call.

parent 6edb5dd0
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment