summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 12:01:00 -0500
committermidipix <writeonce@midipix.org>2016-11-19 12:04:13 -0500
commit8cb34ff6894a6b3066ece4d2eca60c030202e695 (patch)
treec3b8d76a16c4bba51f7d2702c2e3219ed860dda6 /src/logic
parent11fb1c69c1701d2bf6532443a7e9f57344308cdd (diff)
downloadperk-8cb34ff6894a6b3066ece4d2eca60c030202e695.tar.bz2
perk-8cb34ff6894a6b3066ece4d2eca60c030202e695.tar.xz
PE format: union pe_opt_hdr [and friends] --> union pe_raw_opt_hdr.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/pe_get_image_meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c
index e62d4e6..1a24913 100644
--- a/src/logic/pe_get_image_meta.c
+++ b/src/logic/pe_get_image_meta.c
@@ -197,7 +197,7 @@ int pe_get_image_meta(
m->coff.size_of_string_tbl = pe_read_long(mark);
mark = &m->acoff->signature[0];
- m->aopt = (union pe_opt_hdr *)(mark + sizeof(*m->acoff));
+ m->aopt = (union pe_raw_opt_hdr *)(mark + sizeof(*m->acoff));
if ((ret = (pe_read_optional_header(m->aopt,&m->opt))))
return pe_free_image_meta_impl(