diff --git a/modules/rostests/winetests/msvcrt/msvcrt.h b/modules/rostests/winetests/msvcrt/msvcrt.h index 66f6bd00e9667..2a158cb45413a 100644 --- a/modules/rostests/winetests/msvcrt/msvcrt.h +++ b/modules/rostests/winetests/msvcrt/msvcrt.h @@ -64,9 +64,9 @@ typedef unsigned __int64 MSVCRT_size_t; typedef __int64 MSVCRT_intptr_t; typedef unsigned __int64 MSVCRT_uintptr_t; #else -typedef unsigned long MSVCRT_size_t; -typedef long MSVCRT_intptr_t; -typedef unsigned long MSVCRT_uintptr_t; +typedef unsigned int MSVCRT_size_t; +typedef int MSVCRT_intptr_t; +typedef unsigned int MSVCRT_uintptr_t; #endif typedef unsigned int MSVCRT__dev_t; typedef int MSVCRT__off_t; diff --git a/sdk/lib/crt/wine/msvcrt.h b/sdk/lib/crt/wine/msvcrt.h index 471997942485a..10d98c44dbfc8 100644 --- a/sdk/lib/crt/wine/msvcrt.h +++ b/sdk/lib/crt/wine/msvcrt.h @@ -80,9 +80,9 @@ typedef unsigned __int64 MSVCRT_size_t; typedef __int64 MSVCRT_intptr_t; typedef unsigned __int64 MSVCRT_uintptr_t; #else -typedef unsigned long MSVCRT_size_t; -typedef long MSVCRT_intptr_t; -typedef unsigned long MSVCRT_uintptr_t; +typedef unsigned int MSVCRT_size_t; +typedef int MSVCRT_intptr_t; +typedef unsigned int MSVCRT_uintptr_t; #endif #ifdef _CRTDLL typedef short MSVCRT__dev_t;