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