aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos/morphos_timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/morphos/morphos_timer.cpp')
-rw-r--r--backends/morphos/morphos_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/morphos/morphos_timer.cpp b/backends/morphos/morphos_timer.cpp
index da501563f0..f198c47e55 100644
--- a/backends/morphos/morphos_timer.cpp
+++ b/backends/morphos/morphos_timer.cpp
@@ -140,7 +140,7 @@ void Timer::TimerService(Timer *this_ptr, Engine *engine)
{
TimerServiceMessage *tmsg;
- while (tmsg = (TimerServiceMessage *) GetMsg(port))
+ while ((tmsg = (TimerServiceMessage *) GetMsg(port)))
{
if (tmsg->tsm_Message.mn_Length == sizeof (TimerServiceMessage))
{