Commit b19fa1d2 authored by Peter Oberndorfer's avatar Peter Oberndorfer Committed by Alexandre Julliard

dbghelp: Minor cleanup.

parent 9afcaf2a
...@@ -961,7 +961,7 @@ static BOOL elf_debuglink_parse(struct elf_file_map* fmap, struct module* module ...@@ -961,7 +961,7 @@ static BOOL elf_debuglink_parse(struct elf_file_map* fmap, struct module* module
* 2/ padding on 4 byte boundary * 2/ padding on 4 byte boundary
* 3/ CRC of the linked ELF file * 3/ CRC of the linked ELF file
*/ */
const char* dbg_link = (char*)debuglink; const char* dbg_link = (const char*)debuglink;
DWORD crc; DWORD crc;
crc = *(const DWORD*)(dbg_link + ((DWORD_PTR)(strlen(dbg_link) + 4) & ~3)); crc = *(const DWORD*)(dbg_link + ((DWORD_PTR)(strlen(dbg_link) + 4) & ~3));
...@@ -1090,7 +1090,7 @@ static BOOL elf_load_debug_info_from_map(struct module* module, ...@@ -1090,7 +1090,7 @@ static BOOL elf_load_debug_info_from_map(struct module* module,
dw2_debug_loclist, elf_get_map_size(&debug_loclist_sect)); dw2_debug_loclist, elf_get_map_size(&debug_loclist_sect));
if (!lret) if (!lret)
WARN("Couldn't correctly read stabs\n"); WARN("Couldn't correctly read dwarf2\n");
ret = ret || lret; ret = ret || lret;
} }
elf_unmap_section(&debug_sect); elf_unmap_section(&debug_sect);
......
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