diff options
| author | Nick Shaforostov <[email protected]> | 2025-11-11 15:07:13 +0100 |
|---|---|---|
| committer | Nick Shaforostov <[email protected]> | 2025-12-08 19:56:47 +0000 |
| commit | e5ddcfe509b8bc2466240543d011375bdcc2998e (patch) | |
| tree | e7280aac5659987c0a3ad5e62a6d9ebe635dc175 /examples/tools/doc | |
| parent | 9e43348dfa8b217dc9afa27d7124f65a4595cfb7 (diff) | |
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 'examples/tools/doc')
0 files changed, 0 insertions, 0 deletions
