mirror of
https://github.com/reactos/reactos.git
synced 2026-06-22 01:12:52 +08:00
- Fix a warning in 1st of April's implementation of _rotl function.
svn path=/trunk/; revision=33767
This commit is contained in:
@@ -684,7 +684,7 @@ static __inline__ __attribute__((always_inline)) unsigned short _rotl16(const un
|
||||
static __inline__ __attribute__((always_inline)) unsigned short _rotl(const unsigned long value, const unsigned char shift)
|
||||
{
|
||||
unsigned short retval;
|
||||
__asm__("roll %b[shift], %w[retval]" : [retval] "=rm" (retval) : "[retval]" (value), [shift] "Nc" (shift));
|
||||
__asm__("roll %b[shift], %k[retval]" : [retval] "=rm" (retval) : "[retval]" (value), [shift] "Nc" (shift));
|
||||
return retval;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user