diff options
author | Andy Polyakov <appro@openssl.org> | 2010-08-02 21:51:07 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-08-02 21:51:07 +0000 |
commit | dbe3611bbd9564d5f1a22e0f82429bdab2b30553 (patch) | |
tree | 1687a8f1dd6d2f2d6f20bdb48873d10c07035e49 | |
parent | f71c6aceebcc0b4eda7b88d3a8911860036d937c (diff) |
rc5_locl.h: make inline assembler clang-friendly.
-rw-r--r-- | crypto/rc5/rc5_locl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rc5/rc5_locl.h b/crypto/rc5/rc5_locl.h index 282dd38822..d337f73fad 100644 --- a/crypto/rc5/rc5_locl.h +++ b/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; \ }) |