From 22af2ce14125e182d3c41aedcee5cb82dd5c3dcf Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 8 May 2007 03:19:28 +0000 Subject: [PATCH] * include/stdint.h (intptr_t): Fix typo. Thanks to Charles Wilson for report. --- winsup/mingw/ChangeLog | 5 +++++ winsup/mingw/include/stdint.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 011c1fb62..ff74c3b36 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2007-05-08 Danny Smith + + * include/stdint.h (intptr_t): Fix typo. + Thanks to Charles Wilson for report. + 2007-05-07 Danny Smith * include/stdint.h (intptr_t): Protect with _INTPTR_T_DEFINED. diff --git a/winsup/mingw/include/stdint.h b/winsup/mingw/include/stdint.h index 07d955ae2..57db989cd 100644 --- a/winsup/mingw/include/stdint.h +++ b/winsup/mingw/include/stdint.h @@ -61,9 +61,9 @@ typedef unsigned long long uint_fast64_t; #ifndef _INTPTR_T_DEFINED #define _INTPTR_T_DEFINED #ifdef _WIN64 - typedef __int64 uintptr_t; + typedef __int64 intptr_t; #else - typedef int uintptr_t; + typedef int intptr_t; #endif #endif