diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-08-04 10:26:07 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-08-16 14:54:17 +0200 |
commit | 5076ce54be86081ed7f7d36b64e880a2c12c51b2 (patch) | |
tree | 586ef779347bdd7da1c1cf3f622b8db19c23a8bb | |
parent | 9fb2db1ccc59cb54beb0a234aea80c0faac54746 (diff) |
Fix compiler warning about implict cast to double
Change-Id: I80497efedebed9579882d31d3eda13bd88c80c94
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
-rw-r--r-- | tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp | 2 |
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); } |