mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH 4/4] fix a minor bug for the definition of WINT_MIN
@ 2014-11-25 14:50 Jens Gustedt
  2014-12-02 18:06 ` Rich Felker
  0 siblings, 1 reply; 7+ messages in thread
From: Jens Gustedt @ 2014-11-25 14:50 UTC (permalink / raw)
  To: musl

This must be an unsigned value.
---
 include/stdint.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/stdint.h b/include/stdint.h
index 8b91163..8b81ca0 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 (+_UINTEGER_C(uint32_t, 0))
 #define WINT_MAX UINT32_MAX
 
 #if L'\0'-1 > 0
-- 
1.9.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-03 10:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 14:50 [PATCH 4/4] fix a minor bug for the definition of WINT_MIN Jens Gustedt
2014-12-02 18:06 ` Rich Felker
2014-12-02 19:23   ` Jens Gustedt
2014-12-02 19:47     ` Rich Felker
2014-12-02 21:42       ` Jens Gustedt
2014-12-02 21:56         ` Rich Felker
2014-12-03 10:24           ` Jens Gustedt

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).