summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rmd_macro.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rmd_macro.h b/src/rmd_macro.h
index 2f1ac88..f124c0e 100644
--- a/src/rmd_macro.h
+++ b/src/rmd_macro.h
@@ -76,8 +76,8 @@
#define Y_UNIT_WIDTH 0x0010
#define UV_UNIT_WIDTH 0x0008
-#define MAX(a, b) ((a) < (b)) ? (b) : (a)
-#define MIN(a, b) ((a) > (b)) ? (b) : (a)
+#define MAX(a, b) (((a) < (b)) ? (b) : (a))
+#define MIN(a, b) (((a) > (b)) ? (b) : (a))
#endif
© All Rights Reserved