aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/omap1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap1.c b/hw/omap1.c
index f7f2b485c5..7dab6c8e4b 100644
--- a/hw/omap1.c
+++ b/hw/omap1.c
@@ -696,7 +696,7 @@ static inline void omap_timer_update(struct omap_mpu_timer_s *timer)
if (timer->enable && timer->st && timer->rate) {
timer->val = timer->reset_val; /* Should skip this on clk enable */
- expires = muldiv64(timer->val << (timer->ptv + 1),
+ expires = muldiv64((uint64_t) timer->val << (timer->ptv + 1),
ticks_per_sec, timer->rate);
/* If timer expiry would be sooner than in about 1 ms and