summaryrefslogtreecommitdiffhomepage
path: root/src/reader/pe_read_import_header.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 13:37:43 -0500
committermidipix <writeonce@midipix.org>2016-11-19 13:37:43 -0500
commit34ee9eb04f8ad9113ca92cc7a5aa2cd0d45e4330 (patch)
tree6a7363dbc76a76d8325881e9e10bbc21f0bcc07c /src/reader/pe_read_import_header.c
parent3161deb4b53f4683624ebd93d3d0945f4ed92576 (diff)
downloadperk-34ee9eb04f8ad9113ca92cc7a5aa2cd0d45e4330.tar.bz2
perk-34ee9eb04f8ad9113ca92cc7a5aa2cd0d45e4330.tar.xz
PE format: struct pe_import_hdr [and friends] --> struct pe_raw_import_hdr.
Diffstat (limited to 'src/reader/pe_read_import_header.c')
-rw-r--r--src/reader/pe_read_import_header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader/pe_read_import_header.c b/src/reader/pe_read_import_header.c
index e656185..624313b 100644
--- a/src/reader/pe_read_import_header.c
+++ b/src/reader/pe_read_import_header.c
@@ -10,7 +10,7 @@
#include "perk_endian_impl.h"
#include "perk_reader_impl.h"
-int pe_read_import_header(const struct pe_import_hdr * p, struct pe_meta_import_hdr * m)
+int pe_read_import_header(const struct pe_raw_import_hdr * p, struct pe_meta_import_hdr * m)
{
m->import_lookup_tbl_rva = pe_read_long(p->import_lookup_tbl_rva);
m->time_date_stamp = pe_read_long(p->time_date_stamp);
@@ -25,7 +25,7 @@ int pe_read_import_header(const struct pe_import_hdr * p, struct pe_meta_import_
}
int pe_read_import_lookup(
- const union pe_import_lookup * p,
+ const union pe_raw_import_lookup * p,
struct pe_meta_import_lookup * m,
uint32_t magic)
{