MidiPlayer: fixes 64 bit warnings

This commit is contained in:
Jérôme Duval 2013-05-10 19:53:03 +02:00
parent bc8c7d615d
commit 006e76a155
1 changed files with 2 additions and 2 deletions

View File

@ -394,7 +394,7 @@ void
MidiPlayerWindow::StartSynth()
{
synth.Start();
synth.SetFileHook(_StopHook, (int32) this);
synth.SetFileHook(_StopHook, (int32)(addr_t)this);
playing = true;
}
@ -412,7 +412,7 @@ MidiPlayerWindow::StopSynth()
void
MidiPlayerWindow::_StopHook(int32 arg)
{
((MidiPlayerWindow*)arg)->StopHook();
((MidiPlayerWindow*)(addr_t)arg)->StopHook();
}