From 8cb34ff6894a6b3066ece4d2eca60c030202e695 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 12:01:00 -0500 Subject: PE format: union pe_opt_hdr [and friends] --> union pe_raw_opt_hdr. --- src/logic/pe_get_image_meta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/logic') 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( -- cgit v1.2.3