This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __LONG_MAX__


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]