X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=coders%2Fpcx.c;h=fa2942f445f6cda469f33e3dc719bacff3e1c694;hb=2ea2cbfa1006eeda0d230955f9933062065b6aa1;hp=64d4f5c22882c397cdfbe52c72219d9144c2ddf5;hpb=eaedf06777741da32408da72c1e512975c600c48;p=imagemagick diff --git a/coders/pcx.c b/coders/pcx.c index 64d4f5c22..fa2942f44 100644 --- a/coders/pcx.c +++ b/coders/pcx.c @@ -1156,7 +1156,7 @@ static MagickBooleanType WritePCXImage(const ImageInfo *image_info,Image *image) ThrowWriterException(CorruptImageError,"ImproperImageHeader"); (void) WriteBlobLSBLong(image,0x3ADE68B1L); for (i=0; i <= (ssize_t) scene; i++) - (void) WriteBlobLSBLong(image,(size_t) page_table[i]); + (void) WriteBlobLSBLong(image,(unsigned int) page_table[i]); page_table=(MagickOffsetType *) RelinquishMagickMemory(page_table); } if (status == MagickFalse)