projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9c2294
)
fix signedness of WINT_MIN expression
author
Rich Felker
<dalias@aerifal.cx>
Wed, 17 Dec 2014 21:52:37 +0000
(16:52 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 17 Dec 2014 21:52:37 +0000
(16:52 -0500)
since wint_t is unsigned, WINT_MIN needs to expand to an unsigned zero.
include/stdint.h
patch
|
blob
|
history
diff --git
a/include/stdint.h
b/include/stdint.h
index ad6aaead6e45524312a9bb70b2f33edd9803e953..518d05b9d179ee8ecd22067082dbd5a7f952519e 100644
(file)
--- 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 0
U
#define WINT_MAX UINT32_MAX
#if L'\0'-1 > 0