From 31d9ec507ee68ce4829ae1687dbf76a911c4cc75 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 18 Jan 2016 15:25:07 -0500 Subject: minor polishing --- src/globals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/globals.h') diff --git a/src/globals.h b/src/globals.h index 66088ed..eb04f2e 100644 --- a/src/globals.h +++ b/src/globals.h @@ -50,8 +50,8 @@ /* convenience macros */ #define ARRAYLEN(x) (sizeof(x)/sizeof(x[0])) -#define MAX(a,b) ((a>b)?(a):(b)) -#define MIN(a,b) ((a(b))?(a):(b)) +#define MIN(a,b) (((a)<(b))?(a):(b)) /* global constants */ #define USERFILE "users.dat" -- cgit v1.1