winedump: Fix compilation warnings in 64-bit mode.

oldstable
Dmitry Timoshkov 2007-05-21 15:56:31 +09:00 committed by Alexandre Julliard
parent 2c59a95122
commit 7472fa441a
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}