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

Unified Diff: src/base/platform/platform-win32.cc

Issue 1411403011: Fix pointer truncation in 64-bit Windows builds (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform-win32.cc
diff --git a/src/base/platform/platform-win32.cc b/src/base/platform/platform-win32.cc
index f5aed2a2f437b9b16d467261f21f6a7a807a4a29..f42ea25611c44868bd2a489a14e5e0bbccb124c9 100644
--- a/src/base/platform/platform-win32.cc
+++ b/src/base/platform/platform-win32.cc
@@ -1146,8 +1146,8 @@ static std::vector<OS::SharedLibraryAddress> LoadSymbols(
WideCharToMultiByte(CP_UTF8, 0, module_entry.szExePath, -1, &lib_name[0],
lib_name_length, NULL, NULL);
result.push_back(OS::SharedLibraryAddress(
- lib_name, reinterpret_cast<unsigned int>(module_entry.modBaseAddr),
- reinterpret_cast<unsigned int>(module_entry.modBaseAddr +
+ lib_name, reinterpret_cast<uintptr_t>(module_entry.modBaseAddr),
+ reinterpret_cast<uintptr_t>(module_entry.modBaseAddr +
module_entry.modBaseSize)));
Jarin 2015/11/09 05:05:07 Nit: Fix formatting, please. (If you use git cl fo
cont = _Module32NextW(snapshot, &module_entry);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698