Ticket #34934: patch-src-corelib-tools-qelapsedtimer_mac.cpp.diff
File patch-src-corelib-tools-qelapsedtimer_mac.cpp.diff, 400 bytes (added by mklein-de (Michael Klein), 12 years ago) |
---|
-
src/corelib/tools/qelapsedtimer_mac.cpp
old new 62 62 { 63 63 if (info.denom == 0) 64 64 mach_timebase_info(&info); 65 qint64 nsecs = cpuTime * info.numer / info.denom;65 qint64 nsecs = (qint64)((double)cpuTime * info.numer / info.denom); 66 66 return nsecs; 67 67 } 68 68