From d45282fc7cd9b97ed1479f8b8af713337fce57f5 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Wed, 29 Oct 2014 10:48:39 +0100 Subject: [PATCH] md32_common.h: address compiler warning in HOST_c2l. Reviewed-by: Stephen Henson --- crypto/md32_common.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 16f363a582..21461548d1 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -236,8 +236,7 @@ #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++)))<<24), \ l|=(((unsigned long)(*((c)++)))<<16), \ l|=(((unsigned long)(*((c)++)))<< 8), \ - l|=(((unsigned long)(*((c)++))) ), \ - l) + l|=(((unsigned long)(*((c)++))) ) ) #endif #ifndef HOST_l2c #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \ @@ -273,8 +272,7 @@ #define HOST_c2l(c,l) (l =(((unsigned long)(*((c)++))) ), \ l|=(((unsigned long)(*((c)++)))<< 8), \ l|=(((unsigned long)(*((c)++)))<<16), \ - l|=(((unsigned long)(*((c)++)))<<24), \ - l) + l|=(((unsigned long)(*((c)++)))<<24) ) #endif #ifndef HOST_l2c #define HOST_l2c(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ -- 2.25.1