summaryrefslogtreecommitdiffhomepage
path: root/src/headers
diff options
context:
space:
mode:
Diffstat (limited to 'src/headers')
-rw-r--r--src/headers/pe_get_image_coff_hdr_addr.c2
-rw-r--r--src/headers/pe_get_image_dos_hdr_addr.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/headers/pe_get_image_coff_hdr_addr.c b/src/headers/pe_get_image_coff_hdr_addr.c
index d2ff03a..6951095 100644
--- a/src/headers/pe_get_image_coff_hdr_addr.c
+++ b/src/headers/pe_get_image_coff_hdr_addr.c
@@ -12,7 +12,7 @@
pe_api
struct pe_coff_file_hdr * pe_get_image_coff_hdr_addr(const void * base)
{
- struct pe_image_dos_hdr * dos;
+ struct pe_raw_image_dos_hdr * dos;
struct pe_coff_file_hdr * coff;
uint32_t * offset;
diff --git a/src/headers/pe_get_image_dos_hdr_addr.c b/src/headers/pe_get_image_dos_hdr_addr.c
index 279d04e..a18f1df 100644
--- a/src/headers/pe_get_image_dos_hdr_addr.c
+++ b/src/headers/pe_get_image_dos_hdr_addr.c
@@ -11,11 +11,11 @@
#include <pemagine/pemagine.h>
pe_api
-struct pe_image_dos_hdr * pe_get_image_dos_hdr_addr(const void * base)
+struct pe_raw_image_dos_hdr * pe_get_image_dos_hdr_addr(const void * base)
{
- struct pe_image_dos_hdr * dos;
+ struct pe_raw_image_dos_hdr * dos;
- dos = (struct pe_image_dos_hdr *)base;
+ dos = (struct pe_raw_image_dos_hdr *)base;
if ((dos->dos_magic[0] == 'M') && (dos->dos_magic[1] == 'Z'))
return dos;