Fix another Mac OS warning
This commit is contained in:
parent
3c75cc15a9
commit
f74659ac9f
@ -291,9 +291,11 @@ static inline uint32_t LE_LOAD32(const uint8_t *p) {
|
|||||||
return DecodeFixed32(reinterpret_cast<const char*>(p));
|
return DecodeFixed32(reinterpret_cast<const char*>(p));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __SSE4_2__
|
||||||
static inline uint64_t LE_LOAD64(const uint8_t *p) {
|
static inline uint64_t LE_LOAD64(const uint8_t *p) {
|
||||||
return DecodeFixed64(reinterpret_cast<const char*>(p));
|
return DecodeFixed64(reinterpret_cast<const char*>(p));
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
|
||||||
static inline void Slow_CRC32(uint64_t* l, uint8_t const **p) {
|
static inline void Slow_CRC32(uint64_t* l, uint8_t const **p) {
|
||||||
uint32_t c = *l ^ LE_LOAD32(*p);
|
uint32_t c = *l ^ LE_LOAD32(*p);
|
||||||
|
Loading…
Reference in New Issue
Block a user