diff options
author | midipix <writeonce@midipix.org> | 2015-05-02 20:53:05 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:18 -0500 |
commit | b5f7f5d364d1546fc1c9eef76f17906aeafd0c13 (patch) | |
tree | 3214b7d6420cdf4dd7777250de1c20af19df4aa8 /include | |
parent | 057a3a1f027ae998ba200636b40ea98589ac2f86 (diff) | |
download | perk-b5f7f5d364d1546fc1c9eef76f17906aeafd0c13.tar.bz2 perk-b5f7f5d364d1546fc1c9eef76f17906aeafd0c13.tar.xz |
fix big-endian code path; make the code more -Wall-resistant.
Diffstat (limited to 'include')
-rw-r--r-- | include/perk/perk_meta.h | 2 | ||||
-rw-r--r-- | include/perk/perk_structs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/perk/perk_meta.h b/include/perk/perk_meta.h index e3f3375..8ca8f53 100644 --- a/include/perk/perk_meta.h +++ b/include/perk/perk_meta.h @@ -65,7 +65,7 @@ struct pe_meta_opt_hdr_std { struct pe_meta_opt_hdr_vers { uint16_t major_os_ver; - uint16_t minor_or_ver; + uint16_t minor_os_ver; uint16_t major_image_ver; uint16_t minor_image_ver; uint16_t major_subsys_ver; diff --git a/include/perk/perk_structs.h b/include/perk/perk_structs.h index 7254250..f4202b1 100644 --- a/include/perk/perk_structs.h +++ b/include/perk/perk_structs.h @@ -166,7 +166,7 @@ struct pe_opt_hdr_align { struct pe_opt_hdr_vers { unsigned char major_os_ver [PE_MAJOR_OPERATING_SYSTEM_VERSION_BS]; /* 0x28 */ - unsigned char minor_or_ver [PE_MINOR_OPERATING_SYSTEM_VERSION_BS]; /* 0x2a */ + unsigned char minor_os_ver [PE_MINOR_OPERATING_SYSTEM_VERSION_BS]; /* 0x2a */ unsigned char major_image_ver [PE_MAJOR_IMAGE_VERSION_BS]; /* 0x2c */ unsigned char minor_image_ver [PE_MINOR_IMAGE_VERSION_BS]; /* 0x2e */ unsigned char major_subsys_ver [PE_MAJOR_SUBSYSTEM_VERSION_BS]; /* 0x30 */ |