diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-01-20 17:07:12 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-01-21 21:45:11 +0100 |
commit | 6db1284de91b9a5112e602fd59a3826588f0fce9 (patch) | |
tree | 1f03d3166777624dcd1f24121bff55791bb0e50b /tests/auto/widgets/widgets/qmenubar/qmenubar.pro | |
parent | e7115b75306144ed8fd19dd96da605a3d359489c (diff) |
Use Q_INT64_C() to express qint64 constants
When int is 32-bit, 0x80000000L is int-min, and (consequently)
negating it makes no difference, so MSVC warns about this. Instead of
using an L suffix, wrap the constant in Q_INT64_C(). Do the same for
similar large constants in the same block.
Pick-to: 6.2 6.3
Change-Id: Ib371b932792f170ab7db2e472a4283df3a205af3
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets/qmenubar/qmenubar.pro')
0 files changed, 0 insertions, 0 deletions