diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 27a7e4573db8..c5e67c349616 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -862,7 +862,7 @@ Dictionary OS_Windows::execute_with_pipe(const String &p_path, const List &p_arguments, pi.si.StartupInfo.hStdError = pipe[1]; } - size_t attr_list_size = 0; + SIZE_T attr_list_size = 0; InitializeProcThreadAttributeList(nullptr, 1, 0, &attr_list_size); pi.si.lpAttributeList = (LPPROC_THREAD_ATTRIBUTE_LIST)alloca(attr_list_size); if (!InitializeProcThreadAttributeList(pi.si.lpAttributeList, 1, 0, &attr_list_size)) {