summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/rc5/rc5_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/rc5/rc5_locl.h')
-rw-r--r--crypto/openssl/crypto/rc5/rc5_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/rc5/rc5_locl.h b/crypto/openssl/crypto/rc5/rc5_locl.h
index 282dd38..d337f73 100644
--- a/crypto/openssl/crypto/rc5/rc5_locl.h
+++ b/crypto/openssl/crypto/rc5/rc5_locl.h
@@ -154,14 +154,14 @@
# define ROTATE_l32(a,n) ({ register unsigned int ret; \
asm ("roll %%cl,%0" \
: "=r"(ret) \
- : "c"(n),"0"(a) \
+ : "c"(n),"0"((unsigned int)(a)) \
: "cc"); \
ret; \
})
# define ROTATE_r32(a,n) ({ register unsigned int ret; \
asm ("rorl %%cl,%0" \
: "=r"(ret) \
- : "c"(n),"0"(a) \
+ : "c"(n),"0"((unsigned int)(a)) \
: "cc"); \
ret; \
})
OpenPOWER on IntegriCloud