Skip to content

Commit

Permalink
eliminate compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Mar 25, 2021
1 parent f593220 commit a20631b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/thumbnail.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 200,7 @@ static MagickBooleanType WriteTHUMBNAILImage(const ImageInfo *image_info,
q ;
}
if ((q > (GetStringInfoDatum(profile) GetStringInfoLength(profile))) ||
(length > (GetStringInfoDatum(profile) GetStringInfoLength(profile)-q)))
((ssize_t) length > (GetStringInfoDatum(profile) GetStringInfoLength(profile)-q)))
ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail");
thumbnail_image=BlobToImage(image_info,q,length,exception);
if (thumbnail_image == (Image *) NULL)
Expand Down

0 comments on commit a20631b

Please sign in to comment.