Skip to content
Snippets Groups Projects
Commit c0ae5f8f authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard
Browse files

Fixed msvc warning.

parent 622a343e
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment