From: Thomas Bluemel Date: Sun, 9 Oct 2005 22:30:27 +0000 (+0000) Subject: fixed difference in signedness warning in MulDiv() X-Git-Tag: ReactOS-0.2.8~39 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=2b001b30bf8d4e0180446b852554c9165ead8ddf;ds=inline fixed difference in signedness warning in MulDiv() svn path=/trunk/; revision=18388 --- diff --git a/reactos/lib/kernel32/misc/muldiv.c b/reactos/lib/kernel32/misc/muldiv.c index bbfa3023a49..cdf5f42abc0 100644 --- a/reactos/lib/kernel32/misc/muldiv.c +++ b/reactos/lib/kernel32/misc/muldiv.c @@ -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)