arch/sim/include/limits.h: Fix the type of LONG_MIN, LONG_MAX, ULONG_MAX

This commit is contained in:
YAMAMOTO Takashi
2021-03-12 15:06:03 +09:00
committed by Xiang Xiao
parent e65d5d8c73
commit 51be5c08bf
+3 -3
View File
@@ -74,9 +74,9 @@
# define LONG_MAX 2147483647L
# define ULONG_MAX 4294967295UL
#else
# define LONG_MIN (-LLONG_MAX - 1)
# define LONG_MAX 9223372036854775807LL
# define ULONG_MAX 18446744073709551615ULL
# define LONG_MIN (-LONG_MAX - 1)
# define LONG_MAX 9223372036854775807L
# define ULONG_MAX 18446744073709551615UL
#endif
#define LLONG_MIN (-LLONG_MAX - 1)