[Scummvm-cvs-logs] SF.net SVN: scummvm:[39556] scummvm/trunk/backends/midi/windows.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Mar 20 01:20:29 CET 2009


Revision: 39556
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39556&view=rev
Author:   lordhoto
Date:     2009-03-20 00:20:29 +0000 (Fri, 20 Mar 2009)

Log Message:
-----------
Fix parameter in Windows MIDI backend (this is according to API documentation from M$).

Modified Paths:
--------------
    scummvm/trunk/backends/midi/windows.cpp

Modified: scummvm/trunk/backends/midi/windows.cpp
===================================================================
--- scummvm/trunk/backends/midi/windows.cpp	2009-03-20 00:12:45 UTC (rev 39555)
+++ scummvm/trunk/backends/midi/windows.cpp	2009-03-20 00:20:29 UTC (rev 39556)
@@ -62,7 +62,7 @@
 		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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list