We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c970ed commit 51066adCopy full SHA for 51066ad
coders/icon.c
@@ -359,7 +359,7 @@ static Image *ReadICONImage(const ImageInfo *image_info,
359
if (directory == (IconDirectory *) NULL)
360
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
361
extent=0;
362
- for (i=0; i < directory->count; i++)
+ for (i=0; i < (ssize_t) directory->count; i++)
363
{
364
directory->icons[i]->width=(unsigned char) ReadBlobByte(image);
365
directory->icons[i]->height=(unsigned char) ReadBlobByte(image);
0 commit comments