projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f71c6ac
)
rc5_locl.h: make inline assembler clang-friendly.
author
Andy Polyakov
<appro@openssl.org>
Mon, 2 Aug 2010 21:51:07 +0000
(21:51 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 2 Aug 2010 21:51:07 +0000
(21:51 +0000)
crypto/rc5/rc5_locl.h
patch
|
blob
|
history
diff --git
a/crypto/rc5/rc5_locl.h
b/crypto/rc5/rc5_locl.h
index 282dd388223446e15c6e1e7e4d6dc672583c0bbc..d337f73fad9b357b0ae85b0da75a8ae7525c94fc 100644
(file)
--- 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; \
})