1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

winmm/tests: Fix a pointer truncation issue on 64-bit.

This commit is contained in:
Alexandre Julliard 2023-09-01 17:40:21 +02:00
parent ab959b91cd
commit 863c57e956

View File

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