summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-12-17 16:52:37 -0500
committerRich Felker <dalias@aerifal.cx>2015-03-30 01:41:33 -0400
commit2c61720d971b403dfd1e500d6efdfeaf54eb411a (patch)
tree3d43ec39c7a4eba539831ca2bdb9b1117aa6ce9a
parent0d418ce688da6bc80073539f372be84faf7139d1 (diff)
downloadmusl-2c61720d971b403dfd1e500d6efdfeaf54eb411a.tar.gz
fix signedness of WINT_MIN expression
since wint_t is unsigned, WINT_MIN needs to expand to an unsigned zero. (cherry picked from commit aee9b1526247f74e9b755b50e102b3b4ce2aac1d)
-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