about summary refs log tree commit diff
diff options
context:
space:
mode:
-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