Added parenthesis to silence warning.

This commit is contained in:
Dirk Lemstra
2025-05-04 08:41:25 +02:00
parent e9d20d4f54
commit ea47cdadb2
+2 -2
View File
@@ -359,8 +359,8 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info,
if ((LocaleCompare(filename,"--") == 0) && (i < (ssize_t) (argc-1)))
filename=argv[++i];
images=ReadImages(image_info,filename,exception);
status&=(MagickStatusType) (images != (Image *) NULL) &&
(exception->severity < ErrorException);
status&=(MagickStatusType) ((images != (Image *) NULL) &&
(exception->severity < ErrorException));
if (images == (Image *) NULL)
continue;
AppendImageStack(images);