Peter Oberndorfer : dbghelp: Minor cleanup.
Module: wine Branch: master Commit: b19fa1d2827b834f8202e8816143c471e7592951 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b19fa1d2827b834f8202e88161... Author: Peter Oberndorfer <kumbayo84(a)arcor.de> Date: Wed May 16 18:19:42 2007 +0200 dbghelp: Minor cleanup. --- dlls/dbghelp/elf_module.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c index b844e59..30b7a3c 100644 --- a/dlls/dbghelp/elf_module.c +++ b/dlls/dbghelp/elf_module.c @@ -961,7 +961,7 @@ static BOOL elf_debuglink_parse(struct elf_file_map* fmap, struct module* module * 2/ padding on 4 byte boundary * 3/ CRC of the linked ELF file */ - const char* dbg_link = (char*)debuglink; + const char* dbg_link = (const char*)debuglink; DWORD crc; 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, dw2_debug_loclist, elf_get_map_size(&debug_loclist_sect)); if (!lret) - WARN("Couldn't correctly read stabs\n"); + WARN("Couldn't correctly read dwarf2\n"); ret = ret || lret; } elf_unmap_section(&debug_sect);
participants (1)
-
Alexandre Julliard