Commit 7472fa44 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winedump: Fix compilation warnings in 64-bit mode.

parent 2c59a951
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment