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:
parent
8fe1d622b5
commit
c1c904776c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue