aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos/morphos_timer.cpp
diff options
context:
space:
mode:
authorRuediger Hanke2002-11-01 23:09:07 +0000
committerRuediger Hanke2002-11-01 23:09:07 +0000
commit2dcff5fe85623942ea6101b86636ae7f1b008dc3 (patch)
tree59f48db4fe613a5b44bfb3f708a4d2e0840f27ac /backends/morphos/morphos_timer.cpp
parenta15e6df2bd5b3a305fa3933a85321cd7f16e36a4 (diff)
downloadscummvm-rg350-2dcff5fe85623942ea6101b86636ae7f1b008dc3.tar.gz
scummvm-rg350-2dcff5fe85623942ea6101b86636ae7f1b008dc3.tar.bz2
scummvm-rg350-2dcff5fe85623942ea6101b86636ae7f1b008dc3.zip
Small fixes to satisfy GCC with the new MOS includes
svn-id: r5370
Diffstat (limited to 'backends/morphos/morphos_timer.cpp')
-rw-r--r--backends/morphos/morphos_timer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/morphos/morphos_timer.cpp b/backends/morphos/morphos_timer.cpp
index 451aff654c..da501563f0 100644
--- a/backends/morphos/morphos_timer.cpp
+++ b/backends/morphos/morphos_timer.cpp
@@ -106,7 +106,7 @@ bool Timer::SendMsg(ULONG msg_id, TimerProc procedure, LONG interval)
tmsg->tsm_MsgID = msg_id;
tmsg->tsm_Callback = procedure;
tmsg->tsm_Interval = interval;
- PutMsg(&TimerServiceThread->pr_MsgPort, tmsg);
+ PutMsg(&TimerServiceThread->pr_MsgPort, (Message*) tmsg);
WaitPort(reply_port);
GetMsg(reply_port);
@@ -167,7 +167,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine)
req->tr_node.io_Command = TR_ADDREQUEST;
req->tr_time.tv_secs = interval/1000;
req->tr_time.tv_micro = (interval%1000)*1000;
- SendIO(req);
+ SendIO((IORequest*) req);
timers++;
}
@@ -224,7 +224,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine)
req->tr_node.io_Command = TR_ADDREQUEST;
req->tr_time.tv_secs = interval/1000;
req->tr_time.tv_micro = (interval%1000)*1000;
- SendIO(req);
+ SendIO((IORequest*) req);
}
}
}