fix breakage in endian.h
This commit is contained in:
parent
8705a0f1af
commit
3f4de355ba
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ static inline uint32_t __bswap32(uint32_t __x)
|
||||||
|
|
||||||
static inline uint64_t __bswap64(uint64_t __x)
|
static inline uint64_t __bswap64(uint64_t __x)
|
||||||
{
|
{
|
||||||
return __bswap_32(__x)+0ULL<<32 | __bswap_32(__x>>32);
|
return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue