From a4e3764e5152c1a526fa673fe8a36278b8642f47 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 17 May 2008 21:34:05 +0000 Subject: [PATCH] * include/stdint.h: Use int rather than long for {u,}int32_t. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/stdint.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index fb58e6ccc..6cca20af2 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-05-17 Christopher Faylor + + * include/stdint.h: Use int rather than long for {u,}int32_t. + 2008-05-16 Corinna Vinschen * CYGWIN_LICENSE: Remove duplicate file here. diff --git a/winsup/cygwin/include/stdint.h b/winsup/cygwin/include/stdint.h index 141158123..9d45015f0 100644 --- a/winsup/cygwin/include/stdint.h +++ b/winsup/cygwin/include/stdint.h @@ -17,7 +17,7 @@ details. */ #define __int8_t_defined typedef signed char int8_t; typedef short int16_t; -typedef long int32_t; +typedef int int32_t; typedef long long int64_t; #endif @@ -25,7 +25,7 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; #ifndef __uint32_t_defined #define __uint32_t_defined -typedef unsigned long uint32_t; +typedef unsigned int uint32_t; #endif typedef unsigned long long uint64_t;