mirror of
git://git.musl-libc.org/musl
synced 2024-11-23 18:14:19 +08:00
fix signedness of WINT_MIN expression
since wint_t is unsigned, WINT_MIN needs to expand to an unsigned zero.
(cherry picked from commit aee9b15262
)
This commit is contained in:
parent
0d418ce688
commit
2c61720d97
@ -78,7 +78,7 @@ typedef uint64_t uint_least64_t;
|
|||||||
#define INTMAX_MAX INT64_MAX
|
#define INTMAX_MAX INT64_MAX
|
||||||
#define UINTMAX_MAX UINT64_MAX
|
#define UINTMAX_MAX UINT64_MAX
|
||||||
|
|
||||||
#define WINT_MIN 0
|
#define WINT_MIN 0U
|
||||||
#define WINT_MAX UINT32_MAX
|
#define WINT_MAX UINT32_MAX
|
||||||
|
|
||||||
#if L'\0'-1 > 0
|
#if L'\0'-1 > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user