We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1ba0d commit d7018c2Copy full SHA for d7018c2
src/common/time.h
@@ -20,7 +20,7 @@ static inline uint64_t ffTimeGetTick() //In msec
20
#else
21
struct timespec timeNow;
22
clock_gettime(CLOCK_MONOTONIC, &timeNow);
23
- return (uint64_t)((timeNow.tv_sec * 1000) + (timeNow.tv_nsec / 1000000));
+ return (uint64_t)((timeNow.tv_sec * 1000ull) + (timeNow.tv_nsec / 1000000ull));
24
#endif
25
}
26
@@ -33,7 +33,7 @@ static inline uint64_t ffTimeGetNow()
33
34
35
clock_gettime(CLOCK_REALTIME, &timeNow);
36
37
38
39
0 commit comments