Small fixes to satisfy GCC with the new MOS includes

svn-id: r5370
This commit is contained in:
Ruediger Hanke 2002-11-01 23:09:07 +00:00
parent a15e6df2bd
commit 2dcff5fe85
4 changed files with 10 additions and 8 deletions

View file

@ -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);
}
}
}