Index: winsup/cygwin/include/stdint.h =================================================================== RCS file: /cvs/src/src/winsup/cygwin/include/stdint.h,v retrieving revision 1.10 diff -p -u -r1.10 stdint.h --- winsup/cygwin/include/stdint.h 17 May 2008 21:34:05 -0000 1.10 +++ winsup/cygwin/include/stdint.h 3 Apr 2009 23:07:50 -0000 @@ -80,19 +80,19 @@ typedef unsigned long long uintmax_t; #define UINT8_MAX (255) #define UINT16_MAX (65535) -#define UINT32_MAX (4294967295UL) +#define UINT32_MAX (4294967295U) #define UINT64_MAX (18446744073709551615ULL) /* Limits of minimum-width integer types */ #define INT_LEAST8_MIN (-128) #define INT_LEAST16_MIN (-32768) -#define INT_LEAST32_MIN (-2147483647 - 1) +#define INT_LEAST32_MIN (-2147483647L - 1L) #define INT_LEAST64_MIN (-9223372036854775807LL - 1LL) #define INT_LEAST8_MAX (127) #define INT_LEAST16_MAX (32767) -#define INT_LEAST32_MAX (2147483647) +#define INT_LEAST32_MAX (2147483647L) #define INT_LEAST64_MAX (9223372036854775807LL) #define UINT_LEAST8_MAX (255) @@ -103,13 +103,13 @@ typedef unsigned long long uintmax_t; /* Limits of fastest minimum-width integer types */ #define INT_FAST8_MIN (-128) -#define INT_FAST16_MIN (-2147483647 - 1) -#define INT_FAST32_MIN (-2147483647 - 1) +#define INT_FAST16_MIN (-2147483647L - 1L) +#define INT_FAST32_MIN (-2147483647L - 1L) #define INT_FAST64_MIN (-9223372036854775807LL - 1LL) #define INT_FAST8_MAX (127) -#define INT_FAST16_MAX (2147483647) -#define INT_FAST32_MAX (2147483647) +#define INT_FAST16_MAX (2147483647L) +#define INT_FAST32_MAX (2147483647L) #define INT_FAST64_MAX (9223372036854775807LL) #define UINT_FAST8_MAX (255) @@ -119,8 +119,8 @@ typedef unsigned long long uintmax_t; /* Limits of integer types capable of holding object pointers */ -#define INTPTR_MIN (-2147483647 - 1) -#define INTPTR_MAX (2147483647) +#define INTPTR_MIN (-2147483647L - 1L) +#define INTPTR_MAX (2147483647L) #define UINTPTR_MAX (4294967295UL) /* Limits of greatest-width integer types */ @@ -144,7 +144,7 @@ typedef unsigned long long uintmax_t; #endif #ifndef SIZE_MAX -#define SIZE_MAX (4294967295UL) +#define SIZE_MAX (4294967295U) #endif #ifndef WCHAR_MIN