summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-03-08 17:01:28 +0000
committerDr. Stephen Henson <steve@openssl.org>2015-03-08 17:23:40 +0000
commit01320ad3b9261fe845d30881d760ed1da3a97a14 (patch)
tree748c5ed3cd568bc627b802a715ba58b94b60c79c
parenta065737afbc924c75fa332dce3ada7f120eb866a (diff)
Fix warnings.
Fix compiler warnings (similar to commit 25012d5e79) Reviewed-by: Richard Levitte <levitte@openssl.org>
-rw-r--r--crypto/md32_common.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h
index 01f57b7adc..8687665087 100644
--- a/crypto/md32_common.h
+++ b/crypto/md32_common.h
@@ -231,8 +231,7 @@
# define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
- *((c)++)=(unsigned char)(((l) )&0xff), \
- l)
+ *((c)++)=(unsigned char)(((l) )&0xff) )
# endif
#elif defined(DATA_ORDER_IS_LITTLE_ENDIAN)
@@ -252,8 +251,8 @@
# 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)
+# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4)
+# define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4)
# endif
# endif
@@ -267,8 +266,7 @@
# define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
- *((c)++)=(unsigned char)(((l)>>24)&0xff), \
- l)
+ *((c)++)=(unsigned char)(((l)>>24)&0xff) )
# endif
#endif