From e7d0208c47346d41ceb5d515b84694f6251c582d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 26 Jun 2018 21:23:22 +0300 Subject: [PATCH] Fix typo. --HG-- branch : develop --- src/libs/qmuparser/qmuparsertest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/qmuparser/qmuparsertest.h b/src/libs/qmuparser/qmuparsertest.h index 4b1442c8e..3b2d61017 100644 --- a/src/libs/qmuparser/qmuparsertest.h +++ b/src/libs/qmuparser/qmuparsertest.h @@ -239,7 +239,7 @@ private: static qreal Rnd ( qreal v ) { #if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0) - return static_cast( ( 1 + ( v * QRandomGenerator().bounded(RAND_MAX); / ( RAND_MAX + 1.0 ) ) ) ); + return static_cast( ( 1 + ( v * QRandomGenerator().bounded(RAND_MAX) / ( RAND_MAX + 1.0 ) ) ) ); #else // cppcheck-suppress qrandCalled return static_cast( ( 1 + ( v * qrand() / ( RAND_MAX + 1.0 ) ) ) );