From 61aea27d9002e491db5ea54a35cf3141843edcb9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 3 Jul 2006 12:30:04 +0000 Subject: * include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller than int promote to signed int. --- winsup/cygwin/include/stdint.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/include/stdint.h') 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 -- cgit v1.2.3