Commit 36822bbd authored by Alexandre Julliard's avatar Alexandre Julliard

winmm/tests: Fix a pointer conversion warning on 64-bit.

parent 13746947
......@@ -233,7 +233,7 @@ static void test_midiOut_device(UINT udev, HWND hwnd)
/* The W95 ESFM Synthesis device reports NOTENABLED although
* GetVolume by handle works and music plays. */
rc = midiOutGetVolume((HMIDIOUT)udev, &ovolume);
rc = midiOutGetVolume(UlongToHandle(udev), &ovolume);
ok((capsA.dwSupport & MIDICAPS_VOLUME) ? rc==MMSYSERR_NOERROR || broken(rc==MMSYSERR_NOTENABLED) : rc==MMSYSERR_NOTSUPPORTED, "midiOutGetVolume(dev=%d) rc=%s\n", udev, mmsys_error(rc));
/* Tests with midiOutSetvolume show that the midi mapper forwards
......
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