summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 12:14:34 -0500
committermidipix <writeonce@midipix.org>2016-11-19 12:14:34 -0500
commita09b565929cdefee54c76c828a2ebc90fbb0de1b (patch)
tree7ba0f30b42caa212c6c1a766c8603825f1e88b0a /src/logic
parentcef008c5e5c0af051bc5b85762097f717b3c1a35 (diff)
downloadperk-a09b565929cdefee54c76c828a2ebc90fbb0de1b.tar.bz2
perk-a09b565929cdefee54c76c828a2ebc90fbb0de1b.tar.xz
PE format: struct pe_sec_hdr --> struct pe_raw_sec_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 1a24913..a0c77f1 100644
--- a/src/logic/pe_get_image_meta.c
+++ b/src/logic/pe_get_image_meta.c
@@ -204,7 +204,7 @@ int pe_get_image_meta(
m,PERK_CUSTOM_ERROR(dctx,ret));
mark = &m->aopt->opt_hdr_32.magic[0];
- m->asectbl = (struct pe_sec_hdr *)(mark + m->coff.size_of_opt_hdr);
+ m->asectbl = (struct pe_raw_sec_hdr *)(mark + m->coff.size_of_opt_hdr);
if (!(m->sectbl = calloc(m->coff.num_of_sections,sizeof(*(m->sectbl)))))
return pe_free_image_meta_impl(