Commit 863c57e9 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent ab959b91
......@@ -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));
......
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