summaryrefslogtreecommitdiff
path: root/include/stdint.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-12-17 16:52:37 -0500
committerRich Felker <dalias@aerifal.cx>2014-12-17 16:52:37 -0500
commitaee9b1526247f74e9b755b50e102b3b4ce2aac1d (patch)
tree1eb183e1077b130e9e7745d1666ee26fe9a01379 /include/stdint.h
parenta9c2294eef0b4d7e7bcf6155ecb46b25703a80eb (diff)
downloadmusl-aee9b1526247f74e9b755b50e102b3b4ce2aac1d.tar.gz
fix signedness of WINT_MIN expression
since wint_t is unsigned, WINT_MIN needs to expand to an unsigned zero.
Diffstat (limited to 'include/stdint.h')
-rw-r--r--include/stdint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdint.h b/include/stdint.h
index ad6aaead..518d05b9 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -78,7 +78,7 @@ typedef uint64_t uint_least64_t;
#define INTMAX_MAX INT64_MAX
#define UINTMAX_MAX UINT64_MAX
-#define WINT_MIN 0
+#define WINT_MIN 0U
#define WINT_MAX UINT32_MAX
#if L'\0'-1 > 0