From 22df3e7889b41603fbc4c108e6d167d81e006558 Mon Sep 17 00:00:00 2001 From: CarlTSpeak Date: Fri, 24 Oct 2025 11:13:55 +0100 Subject: [PATCH] Fix format issue --- src/windows-emulator/syscalls/memory.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows-emulator/syscalls/memory.cpp b/src/windows-emulator/syscalls/memory.cpp index 403ba2a7..0b8e45c3 100644 --- a/src/windows-emulator/syscalls/memory.cpp +++ b/src/windows-emulator/syscalls/memory.cpp @@ -23,7 +23,9 @@ namespace syscalls if (base_address < MIN_ALLOCATION_ADDRESS || base_address >= MAX_ALLOCATION_END_EXCL) { if (return_length) + { return_length.write(0); + } return STATUS_INVALID_PARAMETER; }