mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 19:40:24 +00:00
time_since_epoch_in_ms: fixed types for 32-bit arch
This commit is contained in:
@@ -77,7 +77,7 @@ uint64_t time_since_epoch_in_ms()
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
|
||||
return ts.tv_sec * 1000 + ts.tv_nsec / 1000000;
|
||||
return ts.tv_sec * 1000ll + ts.tv_nsec / 1000000ll;
|
||||
#else
|
||||
clock_serv_t cclock;
|
||||
mach_timespec_t mts;
|
||||
|
||||
Reference in New Issue
Block a user