diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index d262d25..e735da5 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -177,7 +177,7 @@ int pe_get_image_meta( if (!(m = calloc(1,sizeof(*m)))) return PERK_SYSTEM_ERROR(dctx); - m->ados = (struct pe_image_dos_hdr *)base; + m->ados = (struct pe_raw_image_dos_hdr *)base; if ((ret = (pe_read_dos_header(m->ados,&m->dos)))) return pe_free_image_meta_impl( |