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.
2 parents dfa3570 + 380feeb commit f490412Copy full SHA for f490412
CoreFoundation/NumberDate.subproj/CFDate.c
@@ -122,7 +122,7 @@ CF_EXPORT CFTimeInterval CFGetSystemUptime(void) {
122
return (double)res.tv_sec + ((double)res.tv_nsec)/1.0E9;
123
#elif TARGET_OS_WIN32
124
ULONGLONG ullTickCount = GetTickCount64();
125
- return ullTickCount / 1000;
+ return ullTickCount / 1000.0;
126
#else
127
#error Unable to calculate uptime for this platform
128
#endif
0 commit comments