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

Unified Diff: syzygy/trace/parse/parse_engine.cc

Issue 3000433002: Changed cast from uint32_t to size_t to work on 64 bit. (Closed)
Patch Set: Changed cast from uint32_t to size_t to work on 64 bit. Created 3 years, 4 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
« 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: syzygy/trace/parse/parse_engine.cc
diff --git a/syzygy/trace/parse/parse_engine.cc b/syzygy/trace/parse/parse_engine.cc
index 035a15f619e8f6593d403572be517629e9e9f0e5..23e6a9e0c83aed5a9dce174631daa09ff6e1c02f 100644
--- a/syzygy/trace/parse/parse_engine.cc
+++ b/syzygy/trace/parse/parse_engine.cc
@@ -676,7 +676,7 @@ void ModuleTraceDataToModuleInformation(
ModuleInformation* module_info) {
DCHECK_NE(static_cast<ModuleInformation*>(nullptr), module_info);
module_info->base_address.set_value(
- reinterpret_cast<uint32_t>(module_data.module_base_addr));
+ reinterpret_cast<size_t>(module_data.module_base_addr));
module_info->module_size = module_data.module_base_size;
module_info->path = module_data.module_name;
module_info->module_checksum = module_data.module_checksum;
« 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