Eric Pouech : dbghelp: Fix symt_find_nearest so that it searches for 64bit addresses on 64bit platforms .
Alexandre Julliard
julliard at winehq.org
Tue Dec 15 09:40:18 CST 2009
Module: wine
Branch: master
Commit: 776e75e43cfab6654dbf7d47e454f9b5c23fd628
URL: http://source.winehq.org/git/wine.git/?a=commit;h=776e75e43cfab6654dbf7d47e454f9b5c23fd628
Author: Eric Pouech <eric.pouech at orange.fr>
Date: Mon Dec 14 22:06:06 2009 +0100
dbghelp: Fix symt_find_nearest so that it searches for 64bit addresses on 64bit platforms.
---
dlls/dbghelp/dbghelp_private.h | 2 +-
dlls/dbghelp/symbol.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dbghelp/dbghelp_private.h b/dlls/dbghelp/dbghelp_private.h
index a0b40a1..fd5ec0d 100644
--- a/dlls/dbghelp/dbghelp_private.h
+++ b/dlls/dbghelp/dbghelp_private.h
@@ -538,7 +538,7 @@ extern struct module* symt_cmp_addr_module;
extern int symt_cmp_addr(const void* p1, const void* p2);
extern void copy_symbolW(SYMBOL_INFOW* siw, const SYMBOL_INFO* si);
extern struct symt_ht*
- symt_find_nearest(struct module* module, DWORD addr);
+ symt_find_nearest(struct module* module, DWORD_PTR addr);
extern struct symt_compiland*
symt_new_compiland(struct module* module, unsigned long address,
unsigned src_idx);
diff --git a/dlls/dbghelp/symbol.c b/dlls/dbghelp/symbol.c
index ede588c..d686b4a 100644
--- a/dlls/dbghelp/symbol.c
+++ b/dlls/dbghelp/symbol.c
@@ -900,7 +900,7 @@ static void symt_get_length(struct module* module, const struct symt* symt, ULON
}
/* assume addr is in module */
-struct symt_ht* symt_find_nearest(struct module* module, DWORD addr)
+struct symt_ht* symt_find_nearest(struct module* module, DWORD_PTR addr)
{
int mid, high, low;
ULONG64 ref_addr, ref_size;
More information about the wine-cvs
mailing list