diff options
author | Johannes Schickel | 2009-03-20 00:20:29 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-03-20 00:20:29 +0000 |
commit | 931c8c27e204f61417454ebe02fca33847d80d2c (patch) | |
tree | f843fefb3f5e57141163c4fd885ebc371f41592f /backends/midi/windows.cpp | |
parent | cd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a (diff) | |
download | scummvm-rg350-931c8c27e204f61417454ebe02fca33847d80d2c.tar.gz scummvm-rg350-931c8c27e204f61417454ebe02fca33847d80d2c.tar.bz2 scummvm-rg350-931c8c27e204f61417454ebe02fca33847d80d2c.zip |
Fix parameter in Windows MIDI backend (this is according to API documentation from M$).
svn-id: r39556
Diffstat (limited to 'backends/midi/windows.cpp')
-rw-r--r-- | backends/midi/windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/windows.cpp b/backends/midi/windows.cpp index f9da3e3e4d..ba9e35187a 100644 --- a/backends/midi/windows.cpp +++ b/backends/midi/windows.cpp @@ -62,7 +62,7 @@ int MidiDriver_WIN::open() { return MERR_ALREADY_OPEN; _streamEvent = CreateEvent(NULL, true, true, NULL); - MMRESULT res = midiOutOpen((HMIDIOUT *)&_mo, MIDI_MAPPER, (unsigned long)_streamEvent, 0, CALLBACK_EVENT); + MMRESULT res = midiOutOpen((HMIDIOUT *)&_mo, MIDI_MAPPER, (DWORD_PTR)_streamEvent, 0, CALLBACK_EVENT); if (res != MMSYSERR_NOERROR) { check_error(res); CloseHandle(_streamEvent); |