aboutsummaryrefslogtreecommitdiff
path: root/src/helper/replacements.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/replacements.h')
-rw-r--r--src/helper/replacements.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index 18a2c3e..27a7f6d 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -28,10 +28,10 @@
/* MIN,MAX macros */
#ifndef MIN
-#define MIN(a,b) (((a)<(b))?(a):(b))
+#define MIN(a,b) (((a) < (b))?(a):(b))
#endif
#ifndef MAX
-#define MAX(a,b) (((a)>(b))?(a):(b))
+#define MAX(a,b) (((a) > (b))?(a):(b))
#endif
/* for systems that do not support ENOTSUP