Skip to content

Commit d8ea11a

Browse files
committed
MDEV-22669 fixup: WITH_MSAN build fix
1 parent 59f0119 commit d8ea11a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/ut/ut0crc32.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static inline ulint ut_crc32c_8(ulint crc, byte data)
139139
# ifdef _MSC_VER
140140
return _mm_crc32_u8(static_cast<uint32_t>(crc), data);
141141
# elif __has_feature(memory_sanitizer)
142-
return __builtin_ia32_crc32qi(crc, data);
142+
return __builtin_ia32_crc32qi(static_cast<uint32_t>(crc), data);
143143
# else
144144
asm("crc32b %1, %0" : "+r" (crc) : "rm" (data));
145145
return crc;

0 commit comments

Comments
 (0)