summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-30 19:51:35 -0500
committermidipix <writeonce@midipix.org>2016-11-30 19:51:35 -0500
commit9fdefdbcf17d60170da462a8c65ad0f863b3f465 (patch)
tree44a33ebb28a667b4e3dd08d4406603cfbae9ccd2 /src
parentb69b15112efed38cea1e09629914ba3cfdbe391f (diff)
downloadperk-9fdefdbcf17d60170da462a8c65ad0f863b3f465.tar.bz2
perk-9fdefdbcf17d60170da462a8c65ad0f863b3f465.tar.xz
struct pe_{raw|meta}_opt_hdr_vers: member name normalization.
Diffstat (limited to 'src')
-rw-r--r--src/reader/pe_read_optional_header.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/reader/pe_read_optional_header.c b/src/reader/pe_read_optional_header.c
index 5a2e10a..f331604 100644
--- a/src/reader/pe_read_optional_header.c
+++ b/src/reader/pe_read_optional_header.c
@@ -56,14 +56,14 @@ static int pe_read_optional_header_structs(const union pe_raw_opt_hdr * p, struc
m->std.coh_base_of_code = pe_read_long(astd->coh_base_of_code);
/* vers */
- m->vers.major_os_ver = pe_read_short(avers->major_os_ver);
- m->vers.minor_os_ver = pe_read_short(avers->minor_os_ver);
- m->vers.major_image_ver = pe_read_short(avers->major_image_ver);
- m->vers.minor_image_ver = pe_read_short(avers->minor_image_ver);
- m->vers.major_subsys_ver = pe_read_short(avers->major_subsys_ver);
- m->vers.minor_subsys_ver = pe_read_short(avers->minor_subsys_ver);
-
- m->vers.win32_ver = pe_read_long(avers->win32_ver);
+ m->vers.coh_major_os_ver = pe_read_short(avers->coh_major_os_ver);
+ m->vers.coh_minor_os_ver = pe_read_short(avers->coh_minor_os_ver);
+ m->vers.coh_major_image_ver = pe_read_short(avers->coh_major_image_ver);
+ m->vers.coh_minor_image_ver = pe_read_short(avers->coh_minor_image_ver);
+ m->vers.coh_major_subsys_ver = pe_read_short(avers->coh_major_subsys_ver);
+ m->vers.coh_minor_subsys_ver = pe_read_short(avers->coh_minor_subsys_ver);
+
+ m->vers.coh_win32_ver = pe_read_long(avers->coh_win32_ver);
/* align */
m->align.coh_section_align = pe_read_long(aalign->coh_section_align);