Specify types for integer MAX constants
This commit is contained in:
parent
39484601e7
commit
9a10c6c620
@ -107,14 +107,14 @@ typedef unsigned long uintmax_t;
|
|||||||
#define INT16_MAX 32767
|
#define INT16_MAX 32767
|
||||||
#define INT32_MAX 2147483647
|
#define INT32_MAX 2147483647
|
||||||
#if _WORD_SIZE > 2 && __L64
|
#if _WORD_SIZE > 2 && __L64
|
||||||
#define INT64_MAX 9223372036854775807
|
#define INT64_MAX 9223372036854775807LL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define UINT8_MAX 255
|
#define UINT8_MAX 255
|
||||||
#define UINT16_MAX 65535
|
#define UINT16_MAX 65535
|
||||||
#define UINT32_MAX 4294967295
|
#define UINT32_MAX 4294967295U
|
||||||
#if _WORD_SIZE > 2 && __L64
|
#if _WORD_SIZE > 2 && __L64
|
||||||
#define UINT64_MAX 18446744073709551615
|
#define UINT64_MAX 18446744073709551615ULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define INT_LEAST8_MIN INT8_MIN
|
#define INT_LEAST8_MIN INT8_MIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user