mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
winmm/tests: Fix a pointer conversion warning on 64-bit.
This commit is contained in:
parent
137469479c
commit
36822bbd7d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue