ape/limits.h: fix typo in (U)LLONG_MAX

Fix missing 'L' in the size suffix, so we were overflowing the
maximum size.
This commit is contained in:
Ori Bernstein 2020-09-21 11:43:31 -07:00
parent 8fe1d622b5
commit c1c904776c

View file

@ -9,14 +9,14 @@
#define USHRT_MAX 0xffff #define USHRT_MAX 0xffff
#define UINT_MAX 0xffffffffU #define UINT_MAX 0xffffffffU
#define ULONG_MAX 0xffffffffUL #define ULONG_MAX 0xffffffffUL
#define ULLONG_MAX 0xffffffffffffffffUL #define ULLONG_MAX 0xffffffffffffffffULL
#define CHAR_MAX SCHAR_MAX #define CHAR_MAX SCHAR_MAX
#define SCHAR_MAX 0x7f #define SCHAR_MAX 0x7f
#define SHRT_MAX 0x7fff #define SHRT_MAX 0x7fff
#define INT_MAX 0x7fffffff #define INT_MAX 0x7fffffff
#define LONG_MAX 0x7fffffffL #define LONG_MAX 0x7fffffffL
#define LLONG_MAX 0x7fffffffffffffffL #define LLONG_MAX 0x7fffffffffffffffLL
#define CHAR_MIN SCHAR_MIN #define CHAR_MIN SCHAR_MIN
#define SCHAR_MIN (-SCHAR_MAX-1) #define SCHAR_MIN (-SCHAR_MAX-1)