fix shorten-64-to-32 warning in crc32c

main
Warren Falk 9 years ago
parent 55b37efa15
commit 601f1306a1
  1. 4
      util/crc32c.cc

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

Loading…
Cancel
Save