diff --git a/MagickCore/thread-private.h b/MagickCore/thread-private.h
index 8a978d7..6615f38 100644
--- a/MagickCore/thread-private.h
+++ b/MagickCore/thread-private.h
@@ -36,8 +36,8 @@
       ((MagickSizeType) (columns*rows) > (threshold*threshold))) \
     num_threads(GetMagickResourceLimit(ThreadResource))
 #define IsConcurrentTres(columns,rows,expression,threshold) \
-  if (((((columns) > threshold) || ((rows) > threshold))) && \
-      ((MagickSizeType) (columns*rows) > (threshold*threshold)) && (expression)) \
+  if (((((columns) > threshold) || ((rows) > threshold))) && ((MagickSizeType) \
+      (columns*rows) > (threshold*threshold)) && (expression)) \
     num_threads(GetMagickResourceLimit(ThreadResource))
 
 #if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR > 10))