[xiph-commits] r16297 - icecast/branches/kh/thread
karl at svn.xiph.org
karl at svn.xiph.org
Fri Jul 17 18:39:45 PDT 2009
Author: karl
Date: 2009-07-17 18:39:45 -0700 (Fri, 17 Jul 2009)
New Revision: 16297
Modified:
icecast/branches/kh/thread/thread.h
Log:
use correct type cast
Modified: icecast/branches/kh/thread/thread.h
===================================================================
--- icecast/branches/kh/thread/thread.h 2009-07-17 22:52:45 UTC (rev 16296)
+++ icecast/branches/kh/thread/thread.h 2009-07-18 01:39:45 UTC (rev 16297)
@@ -213,7 +213,7 @@
void thread_get_timespec (struct timespec *now);
void thread_time_add_ms (struct timespec *now, unsigned long value);
-#define THREAD_TIME_MS(X) ((X)->tv_sec*1000+(X)->tv_nsec/1000000)
+#define THREAD_TIME_MS(X) ((X)->tv_sec*(uint64_t)1000+(X)->tv_nsec/1000000)
#define THREAD_TIME_SEC(X) ((X)->tv_sec)
#endif /* __THREAD_H__ */
More information about the commits
mailing list