summaryrefslogtreecommitdiffhomepage
path: root/src/imports
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-01 21:09:38 -0500
committermidipix <writeonce@midipix.org>2016-12-01 21:09:38 -0500
commitc2233d033ca79391b493c45b1efa65a02103bd32 (patch)
treed0a2dd2e14c85a8431f469120cf4596b4be80291 /src/imports
parent7c54020308b9cb81b23ebdf4876b461dc75a39e4 (diff)
downloadpemagine-c2233d033ca79391b493c45b1efa65a02103bd32.tar.bz2
pemagine-c2233d033ca79391b493c45b1efa65a02103bd32.tar.xz
struct pe_raw_import_hdr: member name normalization.
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/pe_enum_image_import_hdrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/pe_enum_image_import_hdrs.c b/src/imports/pe_enum_image_import_hdrs.c
index 4989c0d..1b6100a 100644
--- a/src/imports/pe_enum_image_import_hdrs.c
+++ b/src/imports/pe_enum_image_import_hdrs.c
@@ -24,7 +24,7 @@ int pe_enum_image_import_hdrs(
if ((ret = callback(base,0,PE_CALLBACK_REASON_INIT,ctx)) <= 0)
return ret;
- while (imp_hdr->name_rva[0]) {
+ while (imp_hdr->ih_name_rva[0]) {
if ((ret = callback(base,imp_hdr,PE_CALLBACK_REASON_ITEM,ctx)) <= 0)
return ret;
imp_hdr++;