Commit c0ae5f8f authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Fixed msvc warning.

parent 622a343e
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment