winedump: Fix compilation warnings in 64-bit mode.
This commit is contained in:
parent
2c59a95122
commit
7472fa441a
|
@ -266,14 +266,14 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
|
|||
while (imp < (const PDB_SYMBOL_IMPORT*)last)
|
||||
{
|
||||
ptr = (const char*)imp + sizeof(*imp) + strlen(imp->filename);
|
||||
printf("\tImport: %x\n"
|
||||
printf("\tImport: %lx\n"
|
||||
"\t\tUnknown1: %08x\n"
|
||||
"\t\tUnknown2: %08x\n"
|
||||
"\t\tTimeDateStamp: %08x\n"
|
||||
"\t\tAge: %08u\n"
|
||||
"\t\tfile1: %s\n"
|
||||
"\t\tfile2: %s\n",
|
||||
(const char*)imp - (const char*)first,
|
||||
(ULONG_PTR)((const char*)imp - (const char*)first),
|
||||
imp->unknown1,
|
||||
imp->unknown2,
|
||||
imp->TimeDateStamp,
|
||||
|
@ -404,7 +404,7 @@ static void pdb_dump_symbols(struct pdb_reader* reader)
|
|||
}
|
||||
|
||||
file_name += strlen(file_name) + 1;
|
||||
file = (char*)((DWORD)(file_name + strlen(file_name) + 1 + 3) & ~3);
|
||||
file = (char*)((DWORD_PTR)(file_name + strlen(file_name) + 1 + 3) & ~3);
|
||||
}
|
||||
free((char*)symbols);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue