commit 99f1d7e1b313be320e10b3ab2ebd25664f20c3d8
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Wed Nov 25 13:28:31 2026 +0100
Corrected check.
diff --git a/tests/resize-filter-pixels.c b/tests/resize-filter-pixels.c
index 0fda7b484..fcf239aa8 100644
--- a/tests/resize-filter-pixels.c
+++ b/tests/resize-filter-pixels.c
@@ -539,7 +539,7 @@ int main(int argc,char **argv)
status&=DumpResize(out,"rgb-write-mask",image,10,8,exception);
image=ReleaseImage(image);
- if ((ferror(out) != 0) | (fclose(out) != 0))
+ if ((ferror(out) != 0) || (fclose(out) != 0))
{
(void) fprintf(stderr,"unable to write %s\n",argv[1]);
status=MagickFalse;