fix lint issues

This commit is contained in:
Cristy
2022-06-02 20:53:35 -04:00
parent 0b92950123
commit e75b53abdc
+1 -1
View File
@@ -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))
{