aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/rc5/rc5_locl.h
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/rc5/rc5_locl.h')
-rw-r--r--openssl/crypto/rc5/rc5_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/crypto/rc5/rc5_locl.h b/openssl/crypto/rc5/rc5_locl.h
index 282dd3882..d337f73fa 100644
--- a/openssl/crypto/rc5/rc5_locl.h
+++ b/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; \
})