fix breakage in endian.h

This commit is contained in:
Rich Felker 2012-04-22 11:19:17 -04:00
parent 8705a0f1af
commit 3f4de355ba

View File

@ -28,7 +28,7 @@ static inline uint32_t __bswap32(uint32_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