Commit d8ea11a3 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-22669 fixup: WITH_MSAN build fix

parent 59f01194
......@@ -139,7 +139,7 @@ static inline ulint ut_crc32c_8(ulint crc, byte data)
# ifdef _MSC_VER
return _mm_crc32_u8(static_cast<uint32_t>(crc), data);
# elif __has_feature(memory_sanitizer)
return __builtin_ia32_crc32qi(crc, data);
return __builtin_ia32_crc32qi(static_cast<uint32_t>(crc), data);
# else
asm("crc32b %1, %0" : "+r" (crc) : "rm" (data));
return crc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment