summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-30 19:40:58 -0500
committermidipix <writeonce@midipix.org>2016-11-30 19:40:58 -0500
commitca9b3d5b1e56f79c38d98672602383b7ba23df70 (patch)
tree3a7f6f94d347993c9ec687cfe19db51004709c0d /src
parentd34ab8bdb645bcf57d27044828b0754c49933b5e (diff)
downloadperk-ca9b3d5b1e56f79c38d98672602383b7ba23df70.tar.bz2
perk-ca9b3d5b1e56f79c38d98672602383b7ba23df70.tar.xz
struct pe_{raw|meta}_opt_hdr_align: member name normalization.
Diffstat (limited to 'src')
-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);