diff options
author | Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com> | 2024-11-15 15:49:08 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-11-17 10:51:41 -0500 |
commit | f310921aad84e8ea05cfbff8bf3dd3bb2694ee2a (patch) | |
tree | 91e2fc2927632b28243a1368eabb170fad7a1d6b /platform | |
parent | f66b3b2b7fa69a7d89937a62566458e1c0bfd13f (diff) | |
download | redot-engine-f310921aad84e8ea05cfbff8bf3dd3bb2694ee2a.tar.gz |
Fix 32-bit Windows build.
(cherry picked from commit 287b7543a0861a74e1b1f8b8d88102f5d9e13586)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/windows/os_windows.cpp | 4 |
1 files 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<String pi.si.StartupInfo.hStdOutput = pipe_out[1]; pi.si.StartupInfo.hStdError = pipe_err[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)) { @@ -948,7 +948,7 @@ Error OS_Windows::execute(const String &p_path, const List<String> &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)) { |