diff options
author | makuukka <qt-info@nokia.com> | 2009-05-29 07:08:27 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-06-10 06:38:13 (GMT) |
commit | b97671a3b40623c1499c13c3d74c896ac6b9406f (patch) | |
tree | 8f68eb88a7449799ad245f484b6c358935c85805 /examples | |
parent | dcaa6ab545e7532b5455734bd8d234cb76b152fa (diff) | |
download | Qt-b97671a3b40623c1499c13c3d74c896ac6b9406f.zip Qt-b97671a3b40623c1499c13c3d74c896ac6b9406f.tar.gz Qt-b97671a3b40623c1499c13c3d74c896ac6b9406f.tar.bz2 |
Force qRound64() to take a double on platforms where qreal is a float.
In Symbian qreal is defined as float. And in qround64 the parameter
was qreal. This qround64 is used (only) in qvariant::convert, when
converting from double to e.g. int. This caused overflow bug for some
(close to max int) values, because in convert chain double value
was casted to float.
Task-number: 250267
Reviewed-By: Samuel Rødal
Reviewed-By: Jason Barron
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions