From: cristy Date: Sun, 19 Feb 2012 22:08:28 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=261ce828574bd0c1a102eaf9c9bddbe79c290849;p=imagemagick --- diff --git a/coders/miff.c b/coders/miff.c index e35136240..29e1b27b3 100644 --- a/coders/miff.c +++ b/coders/miff.c @@ -1340,7 +1340,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, { bzip_info.next_in=(char *) compress_pixels; length=(size_t) BZipMaxExtent(packet_size*image->columns); - if (version != 0) + if (version != 0.0) length=(size_t) ReadBlobMSBLong(image); bzip_info.avail_in=(unsigned int) ReadBlob(image,length, (unsigned char *) bzip_info.next_in); @@ -1396,7 +1396,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, { zip_info.next_in=compress_pixels; length=(size_t) ZipMaxExtent(packet_size*image->columns); - if (version != 0) + if (version != 0.0) length=(size_t) ReadBlobMSBLong(image); zip_info.avail_in=(unsigned int) ReadBlob(image,length, zip_info.next_in); @@ -1455,7 +1455,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, int code; - if (version == 0) + if (version == 0.0) { MagickOffsetType offset; @@ -1492,7 +1492,7 @@ static Image *ReadMIFFImage(const ImageInfo *image_info, int code; - if (version == 0) + if (version == 0.0) { MagickOffsetType offset;