Hey Arch, next time you mess with code specific for an architecture you know nothing...
[reactos.git] / 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)