diff options
author | Andy Polyakov <appro@openssl.org> | 2014-07-08 22:24:44 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-07-08 22:24:44 +0200 |
commit | 021e5043e524b1cb28a929ef902548a987c16e65 (patch) | |
tree | 7b2a85940b14227f7c209c645b3c6a2ad6a37a94 /crypto/md32_common.h | |
parent | c4f8efab34af95a5319bbc5b954b62614604298a (diff) |
Please Clang's sanitizer.
PR: #3424,#3423,#3422
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r-- | crypto/md32_common.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 147a7a00c3..1b84104354 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -235,10 +235,10 @@ # endif # endif # endif -#endif -#if defined(__s390__) || defined(__s390x__) -# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, (l)) -# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, (l)) +# if defined(__s390__) || defined(__s390x__) +# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, (l)) +# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, (l)) +# endif #endif #ifndef HOST_c2l @@ -269,12 +269,12 @@ (c)+=4; (l); }) # endif # endif -#endif -#if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) -# ifndef B_ENDIAN - /* See comment in DATA_ORDER_IS_BIG_ENDIAN section. */ -# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l) -# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l) +# if defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) +# ifndef B_ENDIAN + /* See comment in DATA_ORDER_IS_BIG_ENDIAN section. */ +# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l) +# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4, l) +# endif # endif #endif |