From 63dfd5e5230ddedc6152ff214ffd5aaebdcdd83a Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 19 Nov 2002 05:01:39 +0000 Subject: [PATCH] MAXINT isn't as portable as one would like --- tools/bsp2img/bsp2img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bsp2img/bsp2img.c b/tools/bsp2img/bsp2img.c index 732808377..2ac627792 100644 --- a/tools/bsp2img/bsp2img.c +++ b/tools/bsp2img/bsp2img.c @@ -831,7 +831,7 @@ main (int argc, char *argv[]) /* run through all referenced faces */ /* ICK ... do I want to check area of all faces? */ - usearea = MAXINT; + usearea = INT_MAX; if (options.edgeremove) { if (edge_extra[i].num_face_ref > 1) { tempf = 1.0;