From: cuz Date: Sun, 15 Dec 2002 12:12:33 +0000 (+0000) Subject: Declaration of LONG_MIN was wrong X-Git-Tag: V2.12.0~1895 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c0ec39ae7ab3199d0b236577ca297aec0d06764d;p=cc65 Declaration of LONG_MIN was wrong git-svn-id: svn://svn.cc65.org/cc65/trunk@1771 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/limits.h b/include/limits.h index 574a94933..d02d52dca 100644 --- a/include/limits.h +++ b/include/limits.h @@ -41,7 +41,7 @@ #define CHAR_BIT 8 #define SCHAR_MIN ((signed char) 0x80) -#define SCHAR_MAX 127 +#define SCHAR_MAX 127 #define UCHAR_MAX 255 @@ -59,7 +59,7 @@ #define UINT_MAX 65535U #define LONG_MAX 2147483647L -#define LONG_MIN ((long) 0x8000000) +#define LONG_MIN ((long) 0x80000000) #define ULONG_MAX 4294967295UL