about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-22 11:19:17 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-22 11:19:17 -0400
commit3f4de355ba02b0659ae84b8861f7360658a04b01 (patch)
tree31774d7ff0be8a80282f59518197d3a982ced64c
parent8705a0f1afdf6e6eb5d2e325dafb3be7e58f259c (diff)
downloadmusl-3f4de355ba02b0659ae84b8861f7360658a04b01.tar.gz
musl-3f4de355ba02b0659ae84b8861f7360658a04b01.tar.xz
musl-3f4de355ba02b0659ae84b8861f7360658a04b01.zip
fix breakage in endian.h
-rw-r--r--include/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/endian.h b/include/endian.h
index 6e14716e..a08c1b63 100644
--- a/include/endian.h
+++ b/include/endian.h
@@ -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