瀏覽代碼

fix breakage in endian.h

Rich Felker 13 年之前
父節點
當前提交
3f4de355ba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/endian.h

+ 1 - 1
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