From bb74090c99b24d5bc539f6c5c9fcfdca14174be0 Mon Sep 17 00:00:00 2001 From: "gregoryd@google.com" Date: Wed, 11 Nov 2009 00:49:11 +0000 Subject: 64-bit compatibility changes for the sandbox code This CL contains some basic changes that eliminate some of the warnings that appear when the sandbox code is compiled for 64-bit Windows. This is part of a larger effort to support Native Client on 64-bit Windows (that will require the sandbox to support 64-bit Windows). TEST=will be tested when the rest of the code builds for 64-bit Windows BUG=27218 Review URL: http://codereview.chromium.org/378030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31625 0039d316-1c4b-4281-b951-d872f2087c98 --- sandbox/src/interception.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandbox/src/interception.cc') diff --git a/sandbox/src/interception.cc b/sandbox/src/interception.cc index 81657aa..007c373 100644 --- a/sandbox/src/interception.cc +++ b/sandbox/src/interception.cc @@ -375,7 +375,7 @@ bool InterceptionManager::PatchNtdll(bool hot_patch_needed) { return false; // and now write the first part of the table to the child's memory - DWORD written; + SIZE_T written; bool ok = FALSE != ::WriteProcessMemory(child, thunks, &dll_data, offsetof(DllInterceptionData, thunks), &written); -- cgit v1.1