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

This commit is contained in:
Michael Stefaniuc 2009-10-06 10:35:29 +02:00 committed by Alexandre Julliard
parent 6edb5dd0c6
commit a29b421425
1 changed files with 2 additions and 3 deletions

View File

@ -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) {