* include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller

than int promote to signed int.
This commit is contained in:
Corinna Vinschen 2006-07-03 12:30:04 +00:00
parent 78db7dff2c
commit 61aea27d90
2 changed files with 8 additions and 3 deletions

View 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

View 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