From 11fb1c69c1701d2bf6532443a7e9f57344308cdd Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 11:49:03 -0500 Subject: PE format: struct pe_coff_file_hdr --> pe_raw_coff_file_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 e735da5..e62d4e6 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -183,7 +183,7 @@ int pe_get_image_meta( return pe_free_image_meta_impl( m,PERK_CUSTOM_ERROR(dctx,ret)); - m->acoff = (struct pe_coff_file_hdr *)(base + m->dos.dos_lfanew); + m->acoff = (struct pe_raw_coff_file_hdr *)(base + m->dos.dos_lfanew); if ((ret = (pe_read_coff_header(m->acoff,&m->coff)))) return pe_free_image_meta_impl( -- cgit v1.2.3