https://git.reactos.org/?p=reactos.git;a=commitdiff;h=111721a64ab6be1699dcc…
commit 111721a64ab6be1699dcc412826713c16a972003
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Fri Mar 13 22:15:56 2020 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Sat Mar 14 21:23:06 2020 +0100
[CMD] Fix another NtReadVirtualMemory parameter.
Spotted by Hermès.
---
base/shell/cmd/cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/shell/cmd/cmd.c b/base/shell/cmd/cmd.c
index b4658f9fc6c..ed79b192339 100644
--- a/base/shell/cmd/cmd.c
+++ b/base/shell/cmd/cmd.c
@@ -147,7 +147,7 @@
typedef NTSTATUS (WINAPI *NtQueryInformationProcessProc)(HANDLE, PROCESSINFOCLASS,
PVOID, ULONG, PULONG);
-typedef NTSTATUS (WINAPI *NtReadVirtualMemoryProc)(HANDLE, PVOID, PVOID, ULONG,
PSIZE_T);
+typedef NTSTATUS (WINAPI *NtReadVirtualMemoryProc)(HANDLE, PVOID, PVOID, SIZE_T,
PSIZE_T);
BOOL bExit = FALSE; /* Indicates EXIT was typed */
BOOL bCanExit = TRUE; /* Indicates if this shell is exitable */