diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-05-06 11:10:38 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-05-07 14:41:02 +0200 |
commit | 441ff065e5d212f139411416066813514c3ae1a2 (patch) | |
tree | e4c8d523ad0738f5c12b2cac603e0773c9877daa /tests/auto/tools/qmake/testdata/findMocs/object3.h | |
parent | 6fd480142bd253de095c1e4b79c119c9ed7d20a5 (diff) |
Fix compiler warning, explicitly use 64bit shift
The 1 literal is an int, shifted by an int, and then passed into resize,
which takes a 64 bit value. This makes MSVC complain about
warning C4334: '<<': result of 32-bit shift implicitly converted to 64
bits (was 64-bit shift intended?)
Silence that warning by explicitly making the 1 a 64bit long long.
Change-Id: Ica354166de4adae20e05e176dc72b7ccd1af053f
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/tools/qmake/testdata/findMocs/object3.h')
0 files changed, 0 insertions, 0 deletions