From 94d9df24820df62f70be24c348c6fb8c755457dc Mon Sep 17 00:00:00 2001 From: Warren Falk Date: Thu, 7 Jan 2016 13:27:20 -0500 Subject: [PATCH] fix an unused function compiler warning in crc32c in 32-bit mode --- util/crc32c.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/crc32c.cc b/util/crc32c.cc index b96292ec8..2b237b48e 100644 --- a/util/crc32c.cc +++ b/util/crc32c.cc @@ -292,10 +292,12 @@ static inline uint32_t LE_LOAD32(const uint8_t *p) { } #ifdef __SSE4_2__ +#ifdef __LP64__ static inline uint64_t LE_LOAD64(const uint8_t *p) { return DecodeFixed64(reinterpret_cast(p)); } #endif +#endif static inline void Slow_CRC32(uint64_t* l, uint8_t const **p) { uint32_t c = static_cast(*l ^ LE_LOAD32(*p));