summaryrefslogtreecommitdiffhomepage
path: root/src/reader
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader')
-rw-r--r--src/reader/pe_read_optional_header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c
index b32dd6f..5a2e10a 100644
--- a/src/reader/pe_read_optional_header.c
+++ b/src/reader/pe_read_optional_header.c
@@ -66,8 +66,8 @@ static int pe_read_optional_header_structs(const union pe_raw_opt_hdr * p, struc
m->vers.win32_ver = pe_read_long(avers->win32_ver);
/* align */
- m->align.section_align = pe_read_long(aalign->section_align);
- m->align.file_align = pe_read_long(aalign->file_align);
+ m->align.coh_section_align = pe_read_long(aalign->coh_section_align);
+ m->align.coh_file_align = pe_read_long(aalign->coh_file_align);
/* img */
m->img.size_of_image = pe_read_long(aimg->size_of_image);