diff options
-rw-r--r-- | src/Crypto/CamelliaSmall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Crypto/CamelliaSmall.c b/src/Crypto/CamelliaSmall.c index 8ba7ed74..d6911d61 100644 --- a/src/Crypto/CamelliaSmall.c +++ b/src/Crypto/CamelliaSmall.c @@ -43,10 +43,10 @@ #ifndef GET_UINT32_BE #define GET_UINT32_BE(n,b,i) \ { \ - (n) = ( (unsigned __int32) (b)[(i) ] << 24 ) \ - | ( (unsigned __int32) (b)[(i) + 1] << 16 ) \ - | ( (unsigned __int32) (b)[(i) + 2] << 8 ) \ - | ( (unsigned __int32) (b)[(i) + 3] ); \ + (n) = ( (unsigned __int32) (b)[(i) ] << 24 ); \ + (n)|= ( (unsigned __int32) (b)[(i) + 1] << 16 ); \ + (n)|= ( (unsigned __int32) (b)[(i) + 2] << 8 ); \ + (n)|= ( (unsigned __int32) (b)[(i) + 3] ); \ } #endif |