Huw Davies : dbghelp: Fix compilation on OSX.
Alexandre Julliard
julliard at winehq.org
Wed Dec 16 09:41:29 CST 2009
Module: wine
Branch: master
Commit: 34a961d3af02319e3707e1f692d157310f31049e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=34a961d3af02319e3707e1f692d157310f31049e
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Dec 15 17:27:53 2009 +0000
dbghelp: Fix compilation on OSX.
---
dlls/dbghelp/macho_module.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/dbghelp/macho_module.c b/dlls/dbghelp/macho_module.c
index 4210d1f..4cc220e 100644
--- a/dlls/dbghelp/macho_module.c
+++ b/dlls/dbghelp/macho_module.c
@@ -777,7 +777,7 @@ static void macho_finish_stabs(struct module* module, struct hash_table* ht_symt
sym = symt_find_nearest(module, ste->addr);
if (sym)
- symt_get_info(&sym->symt, TI_GET_ADDRESS, &addr);
+ symt_get_info(module, &sym->symt, TI_GET_ADDRESS, &addr);
if (sym && ste->addr == addr)
{
ULONG64 size = 0;
@@ -791,8 +791,8 @@ static void macho_finish_stabs(struct module* module, struct hash_table* ht_symt
* Also, we check that we don't have two symbols, one local, the other
* global, which is legal.
*/
- symt_get_info(&sym->symt, TI_GET_LENGTH, &size);
- symt_get_info(&sym->symt, TI_GET_DATAKIND, &kind);
+ symt_get_info(module, &sym->symt, TI_GET_LENGTH, &size);
+ symt_get_info(module, &sym->symt, TI_GET_DATAKIND, &kind);
if (size && kind == (ste->is_global ? DataIsGlobal : DataIsFileStatic))
FIXME("Duplicate in %s: %s<%08lx> %s<%s-%s>\n",
debugstr_w(module->module.ModuleName),
More information about the wine-cvs
mailing list