diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-07-03 16:30:04 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-07-03 16:30:04 +0400 |
commit | 61aea27d9002e491db5ea54a35cf3141843edcb9 (patch) | |
tree | 1756e0c79c0c4187b94b77dbc2d42164bffca83c /winsup/cygwin/include/stdint.h | |
parent | 78db7dff2c00eb218d1527944d4f23f96acb7e66 (diff) |
* include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller
than int promote to signed int.
Diffstat (limited to 'winsup/cygwin/include/stdint.h')
-rw-r--r-- | winsup/cygwin/include/stdint.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |