mirror of
https://github.com/reactos/reactos.git
synced 2024-08-22 11:22:59 +00:00
fixed difference in signedness warning in MulDiv()
svn path=/trunk/; revision=18388
This commit is contained in:
parent
5e45c5916f
commit
2b001b30bf
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue