aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/mpu401.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp
index 995895d82d..5d8d6cd269 100644
--- a/sound/mpu401.cpp
+++ b/sound/mpu401.cpp
@@ -127,7 +127,7 @@ void MidiDriver_MPU401::setTimerCallback (void *timer_param, void (*timer_proc)
#if !defined(__MORPHOS__) && !defined(__PALM_OS__)
int MidiDriver_MPU401::midi_driver_thread(void *param) {
- MidiDriver_MPU401 *mid = (MidiDriver_MPU401 *)param;
+ volatile MidiDriver_MPU401 *mid = (MidiDriver_MPU401 *)param;
int old_time, cur_time;
old_time = g_system->get_msecs();