about summary refs log tree commit diff
path: root/editor/pnmpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pnmpad.c')
-rw-r--r--editor/pnmpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/pnmpad.c b/editor/pnmpad.c
index 051f3895..a4f7c5cb 100644
--- a/editor/pnmpad.c
+++ b/editor/pnmpad.c
@@ -10,7 +10,7 @@
 #include "shhopt.h"
 #include "pnm.h"
 
-#define MAX_WIDTHHEIGHT INT_MAX-10
+#define MAX_WIDTHHEIGHT ((INT_MAX)-10)
     /* The maximum width or height value we can handle without risking
        arithmetic overflow
     */