Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1416926909.16006.926.camel@eris.loria.fr>
Date: Tue, 25 Nov 2014 15:50:17 +0100
From: Jens Gustedt <Jens.Gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: [PATCH 4/4] fix a minor bug for the definition of WINT_MIN

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.