diff options
author | midipix <writeonce@midipix.org> | 2016-11-30 19:31:28 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-30 19:31:28 -0500 |
commit | d34ab8bdb645bcf57d27044828b0754c49933b5e (patch) | |
tree | 7086ad11572f9a95d028f4f5eac8a97bf994c152 /src/logic | |
parent | da15f0c6fa6f1feed4951a5415d68e3de2b144a8 (diff) | |
download | perk-d34ab8bdb645bcf57d27044828b0754c49933b5e.tar.bz2 perk-d34ab8bdb645bcf57d27044828b0754c49933b5e.tar.xz |
struct pe_{raw|meta}_opt_hdr_std: member name normalization.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index bb461ff..8d0747e 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -301,11 +301,11 @@ int pe_get_image_meta( if ((ret = pe_read_import_lookup( &(m->idata[i].aitems[j]), &(m->idata[i].items[j]), - m->opt.std.magic))) + m->opt.std.coh_magic))) return pe_free_image_meta_impl( m,PERK_CUSTOM_ERROR(dctx,ret)); - switch (m->opt.std.magic) { + switch (m->opt.std.coh_magic) { case PE_MAGIC_PE32: m->idata[i].items[j].flags = m->idata[i].items[j].u.import_lookup_entry_32; break; |