fix shorten-64-to-32 warning in crc32c

This commit is contained in:
Warren Falk 2016-01-07 13:12:15 -05:00
parent 55b37efa15
commit 601f1306a1

View File

@ -319,9 +319,9 @@ static inline void Fast_CRC32(uint64_t* l, uint8_t const **p) {
*l = _mm_crc32_u64(*l, LE_LOAD64(*p)); *l = _mm_crc32_u64(*l, LE_LOAD64(*p));
*p += 8; *p += 8;
#else #else
*l = _mm_crc32_u32(*l, LE_LOAD32(*p)); *l = _mm_crc32_u32((unsigned int)*l, LE_LOAD32(*p));
*p += 4; *p += 4;
*l = _mm_crc32_u32(*l, LE_LOAD32(*p)); *l = _mm_crc32_u32((unsigned int)*l, LE_LOAD32(*p));
*p += 4; *p += 4;
#endif #endif
#else #else