summaryrefslogtreecommitdiffstats
path: root/src/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.cpp')
-rw-r--r--src/timer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timer.cpp b/src/timer.cpp
index b0ccb628..01fd7636 100644
--- a/src/timer.cpp
+++ b/src/timer.cpp
@@ -17,15 +17,15 @@
#include "timer.hpp"
-inline unsigned long systemTimeMs()
+long long int systemTimeMs()
{
struct timeb t_msec;
- unsigned long int timestamp_msec;
+ long long int timestamp_msec;
if(!::ftime(&t_msec))
{
- timestamp_msec = ((unsigned long int) t_msec.time) * 1000ll +
- (unsigned long int) t_msec.millitm;
+ timestamp_msec = (t_msec.time) * 1000ll +
+ t_msec.millitm;
}
return timestamp_msec;
} \ No newline at end of file