From: cristy Date: Sat, 18 Sep 2010 02:15:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df6d6d401dc2e926aab0dbcfed11480b25091077;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index 0f01c273e..f51d93e96 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -2126,8 +2126,8 @@ static MagickBooleanType GetTIFFInfo(const ImageInfo *image_info,TIFF *tiff, flags=ParseAbsoluteGeometry(option,&tiff_info->tile_geometry); if ((flags & HeightValue) == 0) tiff_info->tile_geometry.height=tiff_info->tile_geometry.width; - tile_columns=tiff_info->tile_geometry.width; - tile_rows=tiff_info->tile_geometry.height; + tile_columns=(uint32) tiff_info->tile_geometry.width; + tile_rows=(uint32) tiff_info->tile_geometry.height; TIFFDefaultTileSize(tiff,&tile_columns,&tile_rows); (void) TIFFSetField(tiff,TIFFTAG_TILEWIDTH,tile_columns); (void) TIFFSetField(tiff,TIFFTAG_TILELENGTH,tile_rows);