Aric Stewart <[email protected]> wrote:

> +        vih->bmiHeader.biSizeImage = width * height * 3;
> +        if ((LONG)height < 0)
> +            vih->bmiHeader.biSizeImage = -1 * vih->bmiHeader.biSizeImage;

Using correct types from the start (instead of introducing ugly and wrong
workarounds) should help.

-- 
Dmitry.


Reply via email to