OSDN Git Service

There is no _MIN for unsigned types.
authorDan Albert <danalbert@google.com>
Tue, 22 Jul 2014 00:16:30 +0000 (17:16 -0700)
committerDan Albert <danalbert@google.com>
Tue, 22 Jul 2014 00:16:30 +0000 (17:16 -0700)
Change-Id: I49c38e51197b750210bdbf28c9cf6db30452a206

libc/include/stdint.h

index f34843c..a6f8505 100644 (file)
@@ -203,7 +203,7 @@ typedef int64_t       intmax_t;
 
 #if defined(__WINT_UNSIGNED__)
 #  define WINT_MAX       UINT32_MAX
-#  define WINT_MIN       UINT32_MIN
+#  define WINT_MIN       0
 #else
 #  define WINT_MAX       INT32_MAX
 #  define WINT_MIN       INT32_MIN