summaryrefslogtreecommitdiff
path: root/src/crypto_endian.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-07-10 00:28:06 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2014-07-10 00:28:06 +0900
commit4dfd8b884775737f85783976958f4e976b65a5fb (patch)
treec094825f77757efe8a9c9356a496e0d30dce9ec0 /src/crypto_endian.h
parent852f2fb99a490157d23f15602e1be939cd7cc9b8 (diff)
Fix typo
Diffstat (limited to 'src/crypto_endian.h')
-rw-r--r--src/crypto_endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto_endian.h b/src/crypto_endian.h
index 8284e0dd..55b32d80 100644
--- a/src/crypto_endian.h
+++ b/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