Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-07-03 16:30:04 +0400
committerCorinna Vinschen <corinna@vinschen.de>2006-07-03 16:30:04 +0400
commit61aea27d9002e491db5ea54a35cf3141843edcb9 (patch)
tree1756e0c79c0c4187b94b77dbc2d42164bffca83c /winsup
parent78db7dff2c00eb218d1527944d4f23f96acb7e66 (diff)
* include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller
than int promote to signed int.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/include/stdint.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 8944aee4a..c9d4f68b0 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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
diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h
index 5456239fb..8b040c3a2 100644
--- a/winsup/cygwin/include/stdint.h
+++ b/winsup/cygwin/include/stdint.h
@@ -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