We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f0119 commit d8ea11aCopy full SHA for d8ea11a
storage/innobase/ut/ut0crc32.cc
@@ -139,7 +139,7 @@ static inline ulint ut_crc32c_8(ulint crc, byte data)
139
# ifdef _MSC_VER
140
return _mm_crc32_u8(static_cast<uint32_t>(crc), data);
141
# elif __has_feature(memory_sanitizer)
142
- return __builtin_ia32_crc32qi(crc, data);
+ return __builtin_ia32_crc32qi(static_cast<uint32_t>(crc), data);
143
# else
144
asm("crc32b %1, %0" : "+r" (crc) : "rm" (data));
145
return crc;
0 commit comments