summaryrefslogtreecommitdiffhomepage
path: root/src/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-01 21:22:49 -0500
committermidipix <writeonce@midipix.org>2016-12-01 21:22:49 -0500
commit982672e537f7dd26e875755f3c20f81e6bf7ba65 (patch)
tree3aaa9e75021029867ade326f72bdf1ef44976afc /src/output
parentf845bd25e705125bb60762f9ac43fba1aaef1cdc (diff)
downloadperk-982672e537f7dd26e875755f3c20f81e6bf7ba65.tar.bz2
perk-982672e537f7dd26e875755f3c20f81e6bf7ba65.tar.xz
struct pe_{raw|meta}_import_hdr: member name normalization.
Diffstat (limited to 'src/output')
-rw-r--r--src/output/pe_output_import_libraries.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output/pe_output_import_libraries.c b/src/output/pe_output_import_libraries.c
index cf96005..b308a75 100644
--- a/src/output/pe_output_import_libraries.c
+++ b/src/output/pe_output_import_libraries.c
@@ -60,15 +60,15 @@ int pe_output_import_libraries(
return PERK_FILE_ERROR(dctx);
for (i=0; i<m->summary.nimplibs; i++) {
- if ((pretty_implib_header(cctx,m->idata[i].name,fout)) < 0)
+ if ((pretty_implib_header(cctx,m->idata[i].ih_name,fout)) < 0)
return PERK_FILE_ERROR(dctx);
if (cctx->fmtflags & PERK_OUTPUT_IMPORT_SYMS)
- for (j=0; j<m->idata[i].count; j++)
- if (m->idata[i].items[j].ii_name)
+ for (j=0; j<m->idata[i].ih_count; j++)
+ if (m->idata[i].ih_items[j].ii_name)
if ((pretty_implib_item(
cctx,
- m->idata[i].items[j].ii_name,
+ m->idata[i].ih_items[j].ii_name,
fout)) < 0)
return PERK_FILE_ERROR(dctx);
}