Skip to content

Commit 51066ad

Browse files
author
Cristy
committed
eliminate compiler warning
1 parent 1c970ed commit 51066ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coders/icon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ static Image *ReadICONImage(const ImageInfo *image_info,
359359
if (directory == (IconDirectory *) NULL)
360360
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
361361
extent=0;
362-
for (i=0; i < directory->count; i++)
362+
for (i=0; i < (ssize_t) directory->count; i++)
363363
{
364364
directory->icons[i]->width=(unsigned char) ReadBlobByte(image);
365365
directory->icons[i]->height=(unsigned char) ReadBlobByte(image);

0 commit comments

Comments
 (0)