mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
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
This commit is contained in:
parent
f8e59069e2
commit
26c9ccdb64
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
__INTRIN_INLINE unsigned short _byteswap_ushort(unsigned short value)
|
__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)
|
__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask)
|
||||||
|
|
Loading…
Reference in a new issue