On Fri, Feb 25, 2011 at 11:41:31PM +1100, Peter Urbanec wrote:
> ---
> dlls/gdi32/dib.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> diff --git a/dlls/gdi32/dib.c b/dlls/gdi32/dib.c
> index 0619304..595eb9b 100644
> --- a/dlls/gdi32/dib.c
> +++ b/dlls/gdi32/dib.c
> @@ -885,7 +885,7 @@ INT WINAPI GetDIBits(
> */
> if (bmp->dib->dsBmih.biHeight < 0)
> {
> - sbits += (srcwidthb * (abs(bmp->dib->dsBmih.biHeight) - 2 * startscan - 1));
> + sbits += (srcwidthb * (LONG)(abs(bmp->dib->dsBmih.biHeight) - 2 * startscan - 1));
Please enlighten us to the problem you are fixing? I see no 64bit pointer relation...?
Ciao, Marcus