summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/global')
-rw-r--r--tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp
index f6f558dcd3..0c453cd0e5 100644
--- a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp
+++ b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp
@@ -885,7 +885,7 @@ void tst_QRandomGenerator::stdUniformRealDistribution_data()
newRow(0, 1); // canonical
newRow(0, 200);
newRow(0, numeric_limits<quint32>::max() + 1.);
- newRow(0, numeric_limits<quint64>::max() + 1.);
+ newRow(0, double(numeric_limits<quint64>::max()) + 1.);
newRow(-1, 1.6);
}