From: Paul Eggert Date: Fri, 13 Dec 2002 08:50:13 +0000 (+0000) Subject: (G_CMAX): Now INT_MAX. X-Git-Tag: BISON-1_875~75 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/ca2e738c81b32bc66e594a5aa072c21f5fc2ce74 (G_CMAX): Now INT_MAX. --- diff --git a/src/vcg_defaults.h b/src/vcg_defaults.h index a59cb8bd..36d49bbb 100644 --- a/src/vcg_defaults.h +++ b/src/vcg_defaults.h @@ -105,8 +105,7 @@ # define G_BMAX 100 # define G_CMIN 0 -/* computes the max value of an int ... */ -# define G_CMAX ((unsigned) 1 << (sizeof(int) * 8 - 1)) - 1 +# define G_CMAX INT_MAX # define G_PMIN 0 # define G_PMAX 100 # define G_RMIN 0