[PATCH] programs/winedbg: use correct integral type

Eric Pouech eric.pouech at gmail.com
Thu Jan 27 03:17:20 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 programs/winedbg/be_x86_64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/winedbg/be_x86_64.c b/programs/winedbg/be_x86_64.c
index 44079c2fe76..d82c4ccb687 100644
--- a/programs/winedbg/be_x86_64.c
+++ b/programs/winedbg/be_x86_64.c
@@ -341,7 +341,7 @@ static BOOL be_x86_64_is_break_insn(const void* insn)
     return dbg_read_memory(insn, &c, sizeof(c)) && c == 0xCC;
 }
 
-static BOOL fetch_value(const char* addr, unsigned sz, int* value)
+static BOOL fetch_value(const char* addr, unsigned sz, LONG* value)
 {
     char        value8;
     short       value16;




More information about the wine-devel mailing list