Skip to content

Commit

Permalink
fix shorten-64-to-32 warning in crc32c
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenfalk committed Jan 7, 2016
1 parent 55b37ef commit 601f130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/crc32c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 601f130

Please sign in to comment.