Hey Arch, next time you mess with code specific for an architecture you know nothing...
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 17 Dec 2009 13:41:06 +0000 (13:41 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 17 Dec 2009 13:41:06 +0000 (13:41 +0000)
Fix _byteswap_ushort.

svn path=/trunk/; revision=44637

reactos/include/crt/mingw32/intrin_arm.h

index 9921552..00803a4 100644 (file)
@@ -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)