summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-07-07 03:06:11 +0000
committermidipix <writeonce@midipix.org>2019-07-07 03:12:44 +0000
commit91d87e58ef2e0ba4fecfec0b60f00da8011a9e15 (patch)
treeb37a227d926e22795f1c5e524f88dc4440e1efa2 /include
parentd7016c533d6091d6d4db30845f747b2d1c2610f0 (diff)
downloadperk-91d87e58ef2e0ba4fecfec0b60f00da8011a9e15.tar.bz2
perk-91d87e58ef2e0ba4fecfec0b60f00da8011a9e15.tar.xz
pe_get_image_meta(): fix (cross-size/platform) logic for reading import items.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 0eed0a3..e35b8ad 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -257,7 +257,7 @@ perk_api int pe_read_import_header (const struct pe_raw_import_hdr *,
perk_api int pe_read_coff_symbol (const struct pe_raw_coff_symbol *, struct pe_meta_coff_symbol *,
const struct pe_meta_coff_file_hdr *, void * base);
-perk_api int pe_read_import_lookup (const union pe_raw_import_lookup *, struct pe_meta_import_lookup *,
+perk_api int pe_read_import_lookup (const unsigned char *, struct pe_meta_import_lookup *,
uint32_t magic);
/* package info */