Warning fixes.
This commit is contained in:
parent
0cc2031409
commit
42c5cde5cd
|
@ -276,7 +276,7 @@ static void dump_le_objects( const void *base, const IMAGE_VXD_HEADER *le )
|
|||
pmap = &(pmap[pobj->o32_pagemap - 1]);
|
||||
for (j = 0; j < pobj->o32_mapsize; j++)
|
||||
{
|
||||
printf(" %08x %06x %02x\n",
|
||||
printf(" %08lx %06x %02x\n",
|
||||
pobj->o32_pagemap + j,
|
||||
(pmap->o32_pagedataoffset << 8) + pmap->o32_pagesize,
|
||||
(int)pmap->o32_pageflags);
|
||||
|
|
|
@ -218,6 +218,8 @@ void dump_data( const unsigned char *ptr, unsigned int size, const char *prefix
|
|||
|
||||
void ne_dump( const void *exe, size_t exe_size );
|
||||
|
||||
void le_dump( const void *exe, size_t exe_size );
|
||||
|
||||
FILE *open_file (const char *name, const char *ext, const char *mode);
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
Loading…
Reference in New Issue