summaryrefslogtreecommitdiffhomepage
path: root/src/imports
diff options
context:
space:
mode:
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++;