From b5f7f5d364d1546fc1c9eef76f17906aeafd0c13 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 2 May 2015 20:53:05 -0400 Subject: fix big-endian code path; make the code more -Wall-resistant. --- include/perk/perk_structs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/perk/perk_structs.h') 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 */ -- cgit v1.2.3