Tatsuhiro Tsujikawa 11 anni fa
parent
commit
4dfd8b8847
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/crypto_endian.h

+ 1 - 1
src/crypto_endian.h

@@ -106,7 +106,7 @@ inline uint64_t __crypto_bswap(uint64_t n)
 #if LITTLE_ENDIAN == BYTE_ORDER
 #define __crypto_be(n) __crypto_bswap(n)
 #define __crypto_le(n) (n)
-#else // LITTLE_ENDIAN == WORD_ORDER
+#else // LITTLE_ENDIAN != WORD_ORDER
 #define __crypto_be(n) (n)
 #define __crypto_le(n) __crypto_bswap(n)
 #endif