Commit 0519c4b6 authored by Mikhail Maroukhine's avatar Mikhail Maroukhine Committed by Alexandre Julliard

dbghelp: Fix compiler warnings with flag -Wcast-qual.

parent adf09ce6
......@@ -377,7 +377,7 @@ static BOOL pe_load_coff_symbol_table(struct module* module)
if (!fmap->u.pe.ntheader.FileHeader.PointerToSymbolTable || !numsym)
return TRUE;
if (!(mapping = pe_map_full(fmap, NULL))) return FALSE;
isym = (const IMAGE_SYMBOL*)((char*)mapping + fmap->u.pe.ntheader.FileHeader.PointerToSymbolTable);
isym = (const IMAGE_SYMBOL*)((const char*)mapping + fmap->u.pe.ntheader.FileHeader.PointerToSymbolTable);
/* FIXME: no way to get strtable size */
strtable = (const char*)&isym[numsym];
sect = IMAGE_FIRST_SECTION(&fmap->u.pe.ntheader);
......
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