We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a2b78a commit f04546bCopy full SHA for f04546b
snappy.cc
@@ -1390,7 +1390,7 @@ constexpr uint32_t CalculateNeeded(uint8_t tag) {
1390
#if __cplusplus >= 201402L
1391
constexpr bool VerifyCalculateNeeded() {
1392
for (int i = 0; i < 1; i++) {
1393
- if (CalculateNeeded(i) != (char_table[i] >> 11) + 1) return false;
+ if (CalculateNeeded(i) != static_cast<uint32_t>((char_table[i] >> 11) + 1)) return false;
1394
}
1395
return true;
1396
0 commit comments