diff --git a/src/input/vlm_internal.h b/src/input/vlm_internal.h
index 205d80c423a278346d7d9aa46506fb0a3b6b7c17..e5bcb1e273e03323fb8eb05519421e20059f220d 100644
--- a/src/input/vlm_internal.h
+++ b/src/input/vlm_internal.h
@@ -74,7 +74,7 @@ typedef struct
     time_t date;
 
     /* if != 0, repeat period in seconds */
-    unsigned period;
+    time_t period;
     /* number of times you have to repeat
        i_repeat < 0 : endless repeat     */
     int i_repeat;