$NetBSD: patch-ab,v 1.1 2001/10/18 11:39:24 wiz Exp $ --- gdchart.c.orig Sat Nov 4 02:49:46 2000 +++ gdchart.c @@ -664,7 +664,7 @@ if( GDC_xaxis && xlbl ) { - int biggest = -MAXINT; + int biggest = -INT_MAX; for( i=0; i= num_points || - GDC_xlabel_spacing == MAXSHORT )) + GDC_xlabel_spacing == SHRT_MAX )) || (GDC_xlabel_ctl && xi>=0 && *(GDC_xlabel_ctl+xi)) ) {