https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6286475d711a4348df05750df8ee6d22b6eeaea0

commit 6286475d711a4348df05750df8ee6d22b6eeaea0
Author:     Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Fri Sep 8 11:51:00 2023 +0300
Commit:     Timo Kreuzer <timo.kreu...@reactos.org>
CommitDate: Sun Sep 10 14:58:54 2023 +0300

    [KERNEL32_APITEST] Fix stack corruption in InitOnce test on x64
---
 modules/rostests/apitests/kernel32/InitOnce.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/rostests/apitests/kernel32/InitOnce.c 
b/modules/rostests/apitests/kernel32/InitOnce.c
index 586e87bac9d..66014197f96 100644
--- a/modules/rostests/apitests/kernel32/InitOnce.c
+++ b/modules/rostests/apitests/kernel32/InitOnce.c
@@ -72,8 +72,8 @@ InitOnceProc(
 START_TEST(InitOnce)
 {
     BOOL bRet, fPending;
-    ULONG i, ulInitCount, ulSeed, ulContextData;
-    ULONG_PTR ulTempContext;
+    ULONG i, ulInitCount, ulSeed;
+    ULONG_PTR ulContextData, ulTempContext;
     DWORD dwError;
 
     HMODULE hKernel32;

Reply via email to