From 8600ba293449023f463ee807b7091f99c6c9f0fe Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 1 Jul 2021 16:33:44 +0200 Subject: [PATCH] winedbg: Accept hex values in command line. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- 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; }