From b0085dbeeac47d0ce566750d93f1b1f865d07cdb Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 13 Jul 2018 13:19:53 -0700 Subject: [PATCH] QRandomGenerator: remove unnecessary cast to float in RandomValueFP I don't know why I did that. Change-Id: I20fd00e600264ff98c6afffd15410722b6d95a61 Reviewed-by: Giuseppe D'Angelo --- .../corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp index 7a6842d144..7c04611823 100644 --- a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp +++ b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp @@ -52,7 +52,7 @@ // values chosen at random static const quint32 RandomValue32 = 0x4d1169f1U; static const quint64 RandomValue64 = Q_UINT64_C(0x3ce63161b998aa91); -static const double RandomValueFP = double(0.3010463714599609f); +static const double RandomValueFP = double(0.3010463714599609); static void setRNGControl(uint v) {