include/timers_unix/timerscfg.h
changeset 321 994457edada8
parent 71 95cd3376cc9f
--- a/include/timers_unix/timerscfg.h	Mon Dec 03 11:30:38 2007 +0100
+++ b/include/timers_unix/timerscfg.h	Mon Dec 03 13:09:19 2007 +0100
@@ -29,7 +29,7 @@
 /* Time resolution : 64bit (~584942 years) */
 #define TIMEVAL unsigned long long
 #define TIMEVAL_MAX ~(TIMEVAL)0
-#define MS_TO_TIMEVAL(ms) ms*1000
+#define MS_TO_TIMEVAL(ms) ms*1000L
 #define US_TO_TIMEVAL(us) us
 
 #define TASK_HANDLE pthread_t