diff --git a/cpu/native/periph/timer.c b/cpu/native/periph/timer.c
index 6cf95576835526997a2f841a4ffe241fc6c5326f..bd17926f5b3e525b78c7619704cbb54f8ecb3f9a 100644
--- a/cpu/native/periph/timer.c
+++ b/cpu/native/periph/timer.c
@@ -66,7 +66,7 @@ static struct itimerval itv;
 static unsigned long ts2ticks(struct timespec *tp)
 {
     /* TODO: check for overflow */
-    return((tp->tv_sec * NATIVE_TIMER_SPEED) + (tp->tv_nsec / 1000));
+    return(((unsigned long)tp->tv_sec * NATIVE_TIMER_SPEED) + (tp->tv_nsec / 1000));
 }
 
 /**