X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1faeb1414df7c50f4cc0372316a04086ac4993cd..0ced3098fd97e1483b4ac938bdce99bfc7942539:/src/vcg_defaults.h 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