Eric Pouech : winedbg: Accept hex values in command line.

Alexandre Julliard julliard at winehq.org
Thu Jul 1 15:53:51 CDT 2021


Module: wine
Branch: master
Commit: 8600ba293449023f463ee807b7091f99c6c9f0fe
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=8600ba293449023f463ee807b7091f99c6c9f0fe

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Jul  1 16:33:44 2021 +0200

winedbg: Accept hex values in command line.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/programs/winedbg/tgt_active.c b/programs/winedbg/tgt_active.c
index c9072d5b81c..508e1c58040 100644
--- a/programs/winedbg/tgt_active.c
+++ b/programs/winedbg/tgt_active.c
@@ -667,7 +667,7 @@ static BOOL str2int(const char* str, DWORD_PTR* val)
 {
     char*   ptr;
 
-    *val = strtol(str, &ptr, 10);
+    *val = strtol(str, &ptr, 0);
     return str < ptr && !*ptr;
 }
 




More information about the wine-cvs mailing list