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  
    6262{
    6363    if (info.denom == 0)
    6464        mach_timebase_info(&info);
    65     qint64 nsecs = cpuTime * info.numer / info.denom;
     65    qint64 nsecs = (qint64)((double)cpuTime * info.numer / info.denom);
    6666    return nsecs;
    6767}
    6868