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

This commit is contained in:
Alexandre Julliard 2010-04-12 15:39:32 +02:00
parent 137469479c
commit 36822bbd7d
1 changed files with 1 additions and 1 deletions

View File

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