From f310921aad84e8ea05cfbff8bf3dd3bb2694ee2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?= <7645683+bruvzg@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:49:08 +0200 Subject: [PATCH] Fix 32-bit Windows build. (cherry picked from commit 287b7543a0861a74e1b1f8b8d88102f5d9e13586) --- platform/windows/os_windows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 3d9f42d61b..18cdba6fd9 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -864,7 +864,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)) {