mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-07 04:04:05 +00:00
winmm/tests: Fix a pointer truncation issue on 64-bit.
This commit is contained in:
parent
ab959b91cd
commit
863c57e956
|
@ -687,7 +687,7 @@ static void wave_out_test_deviceOut(int device, double duration, int headers, in
|
|||
"waveOutGetVolume(%s): rc=%s\n",dev_name(device),wave_out_error(rc));
|
||||
|
||||
/* waveOutGetDevCaps allows an open handle instead of a device id */
|
||||
rc=waveOutGetDevCapsW(HandleToUlong(wout),&capsW,sizeof(capsW));
|
||||
rc=waveOutGetDevCapsW((UINT_PTR)wout,&capsW,sizeof(capsW));
|
||||
ok(rc==MMSYSERR_NOERROR,
|
||||
"waveOutGetDevCapsW(%s): MMSYSERR_NOERROR "
|
||||
"expected, got %s\n",dev_name(device),wave_out_error(rc));
|
||||
|
|
Loading…
Reference in a new issue