aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2020-05-02 15:40:24 -0700
committerThiago Macieira <thiago.macieira@intel.com>2020-05-05 22:24:58 -0700
commit1250d8b5b95eecac767a23563717e53faa5d3b8a (patch)
tree964ec8e3bda99d19bbe4200696249a8ba937606b /tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp
parentb2f8d680d65b987ab88c41a2f76e6becbad62864 (diff)
Fix Clang 10 warning about converting ULLONG_MAX to double
The compiler must convert ULLONG_MAX to double before adding 1, so this expression was wrong. MathExtras.h:402:43: error: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Werror,-Wimplicit-int-float-conversion] Task-number: QTBUG-83666 Pick-To: 5.15 Change-Id: I99ab0f318b1c43b89888fffd160b4a95a258423b Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp')
0 files changed, 0 insertions, 0 deletions