fixed difference in signedness warning in MulDiv()

svn path=/trunk/; revision=18388
This commit is contained in:
Thomas Bluemel 2005-10-09 22:30:27 +00:00
parent 5e45c5916f
commit 2b001b30bf

View file

@ -39,7 +39,7 @@ MulDiv(INT nNumber,
/* Divide the product to get the quotient and remainder */
Result.LowPart = RtlEnlargedUnsignedDivide(*(PULARGE_INTEGER)&Result,
(ULONG)nDenominator,
&Result.HighPart);
(PULONG)&Result.HighPart);
/* Do the sign changes */
if ((LONG)Result.LowPart >= 0)