Make rotl what the headers expect

svn path=/trunk/; revision=41873
This commit is contained in:
ReactOS Portable Systems Group 2009-07-11 12:33:10 +00:00
parent 69b01954bd
commit 6f78cdb634

View file

@ -315,7 +315,7 @@ __INTRIN_INLINE void _enable(void)
} }
#ifndef __MSVCRT__ #ifndef __MSVCRT__
__INTRIN_INLINE unsigned long _rotl(const unsigned long value, const unsigned char shift) __INTRIN_INLINE unsigned int _rotl(const unsigned int value, int shift)
{ {
return (((value) << ((int)(shift))) | ((value) >> (32 - (int)(shift)))); return (((value) << ((int)(shift))) | ((value) >> (32 - (int)(shift))));
} }