Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: sandbox/win/src/nt_internals.h

Issue 921353002: sandbox: Fix Win64 porting issue by using SIZE_T instead of ULONG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sandbox/win/src/nt_internals.h
diff --git a/sandbox/win/src/nt_internals.h b/sandbox/win/src/nt_internals.h
index 8b22e0e9a3d0ee5af4472102ef86435f3250a897..2fe27aa8cf000f1d279937de085a3e48d4a2254e 100644
--- a/sandbox/win/src/nt_internals.h
+++ b/sandbox/win/src/nt_internals.h
@@ -450,8 +450,8 @@ typedef NTSTATUS (WINAPI *NtQueryVirtualMemoryFunction)(
IN PVOID BaseAddress,
IN MEMORY_INFORMATION_CLASS MemoryInformationClass,
OUT PVOID MemoryInformation,
- IN ULONG MemoryInformationLength,
- OUT PULONG ReturnLength OPTIONAL);
+ IN SIZE_T MemoryInformationLength,
+ OUT PSIZE_T ReturnLength OPTIONAL);
rvargas (doing something else) 2015/02/17 20:47:30 We run elf on x64, don't we?. Which means that if
robertshield 2015/02/17 23:54:43 Yep.
Reid Kleckner 2015/02/19 01:57:06 It might not fail at all if there is no useful dat
rvargas (doing something else) 2015/02/19 02:09:55 My point was that looking at the code of GetBackin
typedef NTSTATUS (WINAPI *NtProtectVirtualMemoryFunction)(
IN HANDLE ProcessHandle,

Powered by Google App Engine
This is Rietveld 408576698