diff options
author | Jonathan Liu <net147@gmail.com> | 2012-02-21 04:54:25 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 12:29:50 (GMT) |
commit | f30a91ba9d98de1a0ebee5608ba289ac35871a8c (patch) | |
tree | 41e9a3273795427263f35649c6722e8938cc1f0a /src/corelib/animation/animation.pri | |
parent | c87445a2b75264e633d2f358534109ee8ca27ca9 (diff) | |
download | Qt-f30a91ba9d98de1a0ebee5608ba289ac35871a8c.zip Qt-f30a91ba9d98de1a0ebee5608ba289ac35871a8c.tar.gz Qt-f30a91ba9d98de1a0ebee5608ba289ac35871a8c.tar.bz2 |
QElapsedTimer/Win: Fix 64-bit integer overflow
The ticksToNanoseconds function in qelapsedtimer_win.cpp multiplies
ticks from performance counter with 1000000000 which can sometimes
result in 64-bit integer overflow. This can cause the elapsed time to
reset or jump around.
Task-number: QTBUG-23150
Change-Id: I464503e03cbe64e13906e773beafbf88e7dc256a
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/animation/animation.pri')
0 files changed, 0 insertions, 0 deletions