From 55bb7e8935369cb392c705969ed626fe9c0c391c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 17 Sep 2008 01:05:14 +0000 Subject: Convert MAXINT/MININT -> INT_MAX/INT_MIN in Heretic/Hexen code. Subversion-branch: /branches/raven-branch Subversion-revision: 1234 --- src/heretic/d_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/heretic/d_main.c') diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index 073b3d36..9d561013 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -75,7 +75,7 @@ fixed_t FixedDiv(fixed_t a, fixed_t b) { if ((abs(a) >> 14) >= abs(b)) { - return ((a ^ b) < 0 ? MININT : MAXINT); + return ((a ^ b) < 0 ? INT_MIN : INT_MAX); } return (FixedDiv2(a, b)); } -- cgit v1.2.3