summaryrefslogtreecommitdiffstats
path: root/crypto/camellia
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-11-02 09:22:29 +0000
committerBen Laurie <ben@openssl.org>2008-11-02 09:22:29 +0000
commitd0a20cafa1ee76ae0b270e6bb6db50f18e874cf6 (patch)
tree5e901a8b15ae40b6c845fb3610d7d7a2ee5905f5 /crypto/camellia
parent8da07655ee528126e00e338b48e62be5845918e8 (diff)
Fix warnings.
Diffstat (limited to 'crypto/camellia')
-rw-r--r--crypto/camellia/cmll_locl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/camellia/cmll_locl.h b/crypto/camellia/cmll_locl.h
index 6892a6232a..f7af06978c 100644
--- a/crypto/camellia/cmll_locl.h
+++ b/crypto/camellia/cmll_locl.h
@@ -79,7 +79,7 @@ typedef unsigned char u8;
# endif
# define GETU32(p) SWAP(*((u32 *)(p)))
# define PUTU32(p,v) (*((u32 *)(p)) = SWAP((v)))
-#elif defined(__GNUC__) && __GNUC__>=2 && (defined(__i386) || defined(__x86_64))
+#elif defined(__GNUC__) && __GNUC__>=2 && (defined(__i386) || defined(__x86_64)) && !defined(PEDANTIC)
# if defined(B_ENDIAN) /* stratus.com does it */
# define GETU32(p) (*(u32 *)(p))
# define PUTU32(p,v) (*(u32 *)(p)=(v))