CppCheck 1.81 warnings: Shifting signed 32-bit value by 31 bits is undefined behaviour.
Shifting signed 32-bit value by 31 bits is undefined behaviour
for ViewStyle.cxx line 195:
const int maskBit = 1 << markBit;
a quick fix would be:
const int maskBit = 1U << markBit;
Committed as [2db052].
Commit: [2db052]
Log in to post a comment.
Committed as [2db052].
Related
Commit: [2db052]