From: Timo Kreuzer Date: Thu, 17 Dec 2009 13:41:06 +0000 (+0000) Subject: Hey Arch, next time you mess with code specific for an architecture you know nothing... X-Git-Tag: backups/aicom-network-stable@46924~267 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=26c9ccdb6420a07a41c17be213f540c571f3a6c6 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. svn path=/trunk/; revision=44637 --- diff --git a/reactos/include/crt/mingw32/intrin_arm.h b/reactos/include/crt/mingw32/intrin_arm.h index 99215524d77..00803a4eb1b 100644 --- a/reactos/include/crt/mingw32/intrin_arm.h +++ b/reactos/include/crt/mingw32/intrin_arm.h @@ -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)