We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9f3e2 commit 5515f71Copy full SHA for 5515f71
examples/streamer/helpers.cpp
@@ -38,7 +38,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz) {
38
x.LowPart = filetime.dwLowDateTime;
39
x.HighPart = filetime.dwHighDateTime;
40
usec = x.QuadPart / 10 - epoch_offset_us;
41
- tv->tv_sec = time_t(usec / 1000000ULL);
+ tv->tv_sec = long(usec / 1000000ULL);
42
tv->tv_usec = long(usec % 1000000ULL);
43
}
44
if (tz) {
0 commit comments