]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 3 Jul 2006 12:30:04 +0000 (12:30 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 3 Jul 2006 12:30:04 +0000 (12:30 +0000)
than int promote to signed int.

winsup/cygwin/ChangeLog
winsup/cygwin/include/stdint.h

index 8944aee4adfcdd6647e8cecdfb2ec8062e329655..c9d4f68b06bb20b9e28b26bf1cbad25b546bacbe 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-03  Eric Blake  <ebb9@byu.net>
+
+       * include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller
+       than int promote to signed int.
+
 2006-07-03  Corinna Vinschen  <corinna@vinschen.de>
 
        * net.cc (cygwin_sendto): Define appropriate parameters using
index 5456239fb4fce02a300c8d0fb753dc29e95991d6..8b040c3a2f048e362c40118cce40b5c6611c1e0c 100644 (file)
@@ -1,6 +1,6 @@
 /* stdint.h - integer types
 
-   Copyright 2003 Red Hat, Inc.
+   Copyright 2003, 2006 Red Hat, Inc.
 
 This file is part of Cygwin.
 
@@ -169,8 +169,8 @@ typedef unsigned long long uintmax_t;
 #define INT32_C(x) x ## L
 #define INT64_C(x) x ## LL
 
-#define UINT8_C(x) x ## U
-#define UINT16_C(x) x ## U
+#define UINT8_C(x) x
+#define UINT16_C(x) x
 #define UINT32_C(x) x ## UL
 #define UINT64_C(x) x ## ULL
 
This page took 0.037198 seconds and 5 git commands to generate.