From: cristy Date: Sat, 4 Sep 2010 23:05:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8981 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d368204aa5ac1b8716da0054988319952030438;p=imagemagick --- diff --git a/coders/png.c b/coders/png.c index 7e8be2c0a..a91a3fe92 100644 --- a/coders/png.c +++ b/coders/png.c @@ -5319,7 +5319,7 @@ static Image *ReadMNGImage(const ImageInfo *image_info,ExceptionInfo *exception) if (image->rows > 1) magnified_height += mng_info->magn_mb; if (image->rows > 2) - magnified_height += (image->rows-2)*(mng_info->magn_my); + magnified_height += (png_uint_32) ((image->rows-2)*(mng_info->magn_my)); } else {