diff options
author | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 00:49:11 +0000 |
---|---|---|
committer | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-11 00:49:11 +0000 |
commit | bb74090c99b24d5bc539f6c5c9fcfdca14174be0 (patch) | |
tree | ea41eabc2bc163fba2d906aac851e58bf2e33d9a /sandbox/src/interception.cc | |
parent | 8f763a300158b4917e0cc1267f4c7d45fa72b572 (diff) | |
download | chromium_src-bb74090c99b24d5bc539f6c5c9fcfdca14174be0.zip chromium_src-bb74090c99b24d5bc539f6c5c9fcfdca14174be0.tar.gz chromium_src-bb74090c99b24d5bc539f6c5c9fcfdca14174be0.tar.bz2 |
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
Diffstat (limited to 'sandbox/src/interception.cc')
-rw-r--r-- | sandbox/src/interception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |