dlls/msacm32: Avoid a sizeof()+cast in an ok() call.
This commit is contained in:
parent
6edb5dd0c6
commit
a29b421425
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue