Module: wine Branch: master Commit: 863c57e956fffaef97b8ff5acf581a8e863b1331 URL: https://gitlab.winehq.org/wine/wine/-/commit/863c57e956fffaef97b8ff5acf581a8...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Sep 1 17:40:21 2023 +0200
winmm/tests: Fix a pointer truncation issue on 64-bit.
---
dlls/winmm/tests/wave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c index c0c22bee4d8..608bcaa3118 100644 --- a/dlls/winmm/tests/wave.c +++ b/dlls/winmm/tests/wave.c @@ -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));