From 2dcff5fe85623942ea6101b86636ae7f1b008dc3 Mon Sep 17 00:00:00 2001 From: Ruediger Hanke Date: Fri, 1 Nov 2002 23:09:07 +0000 Subject: Small fixes to satisfy GCC with the new MOS includes svn-id: r5370 --- backends/morphos/morphos_timer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/morphos/morphos_timer.cpp') 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); } } } -- cgit v1.2.3