summaryrefslogtreecommitdiffstats
path: root/tests/auto/qopengl/tst_qopengl.cpp
diff options
context:
space:
mode:
authorNick Shaforostov <[email protected]>2025-11-11 15:07:13 +0100
committerNick Shaforostov <[email protected]>2025-12-08 19:56:47 +0000
commite5ddcfe509b8bc2466240543d011375bdcc2998e (patch)
treee7280aac5659987c0a3ad5e62a6d9ebe635dc175 /tests/auto/qopengl/tst_qopengl.cpp
parent9e43348dfa8b217dc9afa27d7124f65a4595cfb7 (diff)
gui: fix build with -qreal floatHEADdev
in several places INT_MAX was implicitly converted to qreal. when qreal is float, the compiler warns: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] the conversion is made explicit now also in qfontengine.cpp operands are reordered to let compiler pre-calculate part of the expression Pick-to: 6.11 6.10 6.8 6.5 Change-Id: I7cba0f95e38d10f661dca9f085cf024a6f8a5f52 Reviewed-by: Eirik Aavitsland <[email protected]>
Diffstat (limited to 'tests/auto/qopengl/tst_qopengl.cpp')
0 files changed, 0 insertions, 0 deletions