Correct the parameter type for 64 bit.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3847
This commit is contained in:
parent
80df53942c
commit
0d65d2956c
1 changed files with 2 additions and 2 deletions
|
@ -47,10 +47,10 @@ public:
|
|||
MIDIOUTCAPS mididev;
|
||||
midiOutGetDevCaps(nummer, &mididev, sizeof(MIDIOUTCAPS));
|
||||
LOG_MSG("MIDI:win32 selected %s",mididev.szPname);
|
||||
res = midiOutOpen(&m_out, nummer, (DWORD)m_event, 0, CALLBACK_EVENT);
|
||||
res = midiOutOpen(&m_out, nummer, (DWORD_PTR)m_event, 0, CALLBACK_EVENT);
|
||||
}
|
||||
} else {
|
||||
res = midiOutOpen(&m_out, MIDI_MAPPER, (DWORD)m_event, 0, CALLBACK_EVENT);
|
||||
res = midiOutOpen(&m_out, MIDI_MAPPER, (DWORD_PTR)m_event, 0, CALLBACK_EVENT);
|
||||
}
|
||||
if (res != MMSYSERR_NOERROR) return false;
|
||||
isOpen=true;
|
||||
|
|
Loading…
Add table
Reference in a new issue