MidiPlayer: fixes 64 bit warnings
This commit is contained in:
@@ -394,7 +394,7 @@ void
|
|||||||
MidiPlayerWindow::StartSynth()
|
MidiPlayerWindow::StartSynth()
|
||||||
{
|
{
|
||||||
synth.Start();
|
synth.Start();
|
||||||
synth.SetFileHook(_StopHook, (int32) this);
|
synth.SetFileHook(_StopHook, (int32)(addr_t)this);
|
||||||
playing = true;
|
playing = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -412,7 +412,7 @@ MidiPlayerWindow::StopSynth()
|
|||||||
void
|
void
|
||||||
MidiPlayerWindow::_StopHook(int32 arg)
|
MidiPlayerWindow::_StopHook(int32 arg)
|
||||||
{
|
{
|
||||||
((MidiPlayerWindow*)arg)->StopHook();
|
((MidiPlayerWindow*)(addr_t)arg)->StopHook();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user