This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __LONG_MAX__
- To: Gavin Romig-Koch <gavin at cygnus dot com>, egcs at cygnus dot com, egcs-patches at cygnus dot com
- Subject: Re: __LONG_MAX__
- From: Chip Salzenberg <chip at perl dot org>
- Date: Thu, 3 Sep 1998 18:43:33 -0400
- References: <m0zEJ4b-000sBJC@cetus.cygnus.com>
According to Gavin Romig-Koch:
> ! #define __LONG_MAX__ (((unsigned long)-1)/2)
You forgot the (long) cast -- __LONG_MAX__ must be of type "long".
--
Chip Salzenberg - a.k.a. - <chip@perlsupport.com>
"... under cover of afternoon in the biggest car in the county?!" //MST3K