summaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorPāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>2024-11-15 15:49:08 +0200
committerPāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>2024-11-15 15:49:08 +0200
commit287b7543a0861a74e1b1f8b8d88102f5d9e13586 (patch)
tree74155c96ca93644419d7b9d76757c403d1508e28 /platform
parent673f396677654220d7e1d5b6fb5ed3b50126b4e6 (diff)
downloadredot-engine-287b7543a0861a74e1b1f8b8d88102f5d9e13586.tar.gz
Fix 32-bit Windows build.
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 4d253059b2..fcc4655cbe 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -986,7 +986,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)) {
@@ -1082,7 +1082,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)) {