diff options
author | Andy Polyakov <appro@openssl.org> | 2010-08-02 23:51:07 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-08-02 23:51:07 +0200 |
commit | dbe3611bbd9564d5f1a22e0f82429bdab2b30553 (patch) | |
tree | 1687a8f1dd6d2f2d6f20bdb48873d10c07035e49 /crypto/rc5 | |
parent | gcm128.c: add CRYPTO_gcm128_[en|de]crypt_ctr32. (diff) | |
download | openssl-dbe3611bbd9564d5f1a22e0f82429bdab2b30553.tar.xz openssl-dbe3611bbd9564d5f1a22e0f82429bdab2b30553.zip |
rc5_locl.h: make inline assembler clang-friendly.
Diffstat (limited to 'crypto/rc5')
-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; \ }) |