summaryrefslogtreecommitdiffhomepage
path: root/src/reader/pe_read_dos_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader/pe_read_dos_header.c')
-rw-r--r--src/reader/pe_read_dos_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader/pe_read_dos_header.c b/src/reader/pe_read_dos_header.c
index 440063e..ebdfc05 100644
--- a/src/reader/pe_read_dos_header.c
+++ b/src/reader/pe_read_dos_header.c
@@ -10,7 +10,7 @@
#include "perk_endian_impl.h"
#include "perk_reader_impl.h"
-int pe_read_dos_header(const struct pe_image_dos_hdr * p, struct pe_meta_image_dos_hdr * m)
+int pe_read_dos_header(const struct pe_raw_image_dos_hdr * p, struct pe_meta_image_dos_hdr * m)
{
if ((p->dos_magic[0] != 'M') || (p->dos_magic[1] != 'Z'))
return PERK_ERR_BAD_DOS_HEADER;