Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jun 3, 2022
1 parent 0b92950 commit e75b53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ static Image *ReadMPCImage(const ImageInfo *image_info,ExceptionInfo *exception)
(image->compression == UndefinedCompression) ||
(image->columns == 0) || (image->rows == 0) ||
(image->number_channels > MaxPixelChannels) ||
(image->number_meta_channels > (MaxPixelChannels-MetaPixelChannels)) ||
(image->number_meta_channels > (size_t) (MaxPixelChannels-MetaPixelChannels)) ||
((image->number_channels+image->number_meta_channels) >= MaxPixelChannels) ||
(image->depth == 0) || (image->depth > 64))
{
Expand Down

0 comments on commit e75b53a

Please sign in to comment.