mirror of
https://github.com/reactos/wine.git
synced 2025-02-04 02:56:31 +00:00
dbghelp: Fix compiler warnings with flag -Wcast-qual.
This commit is contained in:
parent
adf09ce66e
commit
0519c4b68a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user