Explorar el Código

fix breakage in endian.h

Rich Felker hace 13 años
padre
commit
3f4de355ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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