aboutsummaryrefslogtreecommitdiffstats
path: root/src/generic/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/timer.c')
-rw-r--r--src/generic/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/timer.c b/src/generic/timer.c
index 436ecb68..256ccb3d 100644
--- a/src/generic/timer.c
+++ b/src/generic/timer.c
@@ -50,7 +50,7 @@ static uint32_t timer_repeat_until;
// if the next timer is too close to schedule. Caller must disable
// irqs.
uint8_t
-timer_try_set_next(uint32_t next)
+timer_try_set_next(unsigned int next)
{
uint32_t now = timer_read_time();
int32_t diff = next - now;