summaryrefslogtreecommitdiffstats
path: root/breakpad/linux/minidump-2-core.cc
diff options
context:
space:
mode:
Diffstat (limited to 'breakpad/linux/minidump-2-core.cc')
-rw-r--r--breakpad/linux/minidump-2-core.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/breakpad/linux/minidump-2-core.cc b/breakpad/linux/minidump-2-core.cc
index 47b0209..db3e5cf 100644
--- a/breakpad/linux/minidump-2-core.cc
+++ b/breakpad/linux/minidump-2-core.cc
@@ -420,7 +420,7 @@ ParseModuleStream(CrashedProcess* crashinfo, MMappedRange range) {
CrashedProcess::Mapping mapping;
const MDRawModule* rawmodule =
(MDRawModule*) range.GetArrayElement(sizeof(uint32_t),
- sizeof(MDRawModule), i);
+ MD_MODULE_SIZE, i);
mapping.start_address = rawmodule->base_of_image;
mapping.end_address = rawmodule->size_of_image + rawmodule->base_of_image;