Author: tkreuzer
Date: Thu Dec 17 14:41:06 2009
New Revision: 44637
URL:
http://svn.reactos.org/svn/reactos?rev=44637&view=rev
Log:
Hey Arch, next time you mess with code specific for an architecture you know nothing
about, try to get at least the portable stuff right.
Fix _byteswap_ushort.
Modified:
trunk/reactos/include/crt/mingw32/intrin_arm.h
Modified: trunk/reactos/include/crt/mingw32/intrin_arm.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/crt/mingw32/intrin…
==============================================================================
--- trunk/reactos/include/crt/mingw32/intrin_arm.h [iso-8859-1] (original)
+++ trunk/reactos/include/crt/mingw32/intrin_arm.h [iso-8859-1] Thu Dec 17 14:41:06 2009
@@ -37,7 +37,7 @@
__INTRIN_INLINE unsigned short _byteswap_ushort(unsigned short value)
{
- return (value >> 8) || (value & 0xff);
+ return (value >> 8) || (value << 8);
}
__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask)