]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 25 Feb 2018 23:56:26 +0000 (18:56 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 25 Feb 2018 23:56:26 +0000 (18:56 -0500)
MagickCore/magick-type.h

index cc204e0c10a409bf4797d73e8fee373baf428fb9..11f6b8805126e0df829a11c74be1f2a4d8f06d65 100644 (file)
@@ -176,7 +176,7 @@ typedef enum
 #  include <float.h>
 #  define IsNaN(a) _isnan(a)
 #else
-#  define IsNaN(a) (a != a)
+#  define IsNaN(a) ((a) != (a))
 #endif
 #if !defined(INFINITY)
 #  define INFINITY (-logf(0f))