Fixed msvc warning.

This commit is contained in:
Jon Griffiths 2003-07-18 22:55:02 +00:00 committed by Alexandre Julliard
parent 622a343e9f
commit c0ae5f8f6f

View File

@ -1318,7 +1318,7 @@ inline static ULONG RtlUlongByteSwap(ULONG i)
__asm__("bswap %0" : "=r" (ret) : "0" (i) );
return ret;
#else
return ((ULONG)RtlUshortByteSwap(i) << 16) | RtlUshortByteSwap(i >> 16);
return ((ULONG)RtlUshortByteSwap((USHORT)i) << 16) | RtlUshortByteSwap((USHORT)(i >> 16));
#endif
}