Eric Pouech : winedbg: Accept hex values in command line.
Module: wine Branch: master Commit: 8600ba293449023f463ee807b7091f99c6c9f0fe URL: https://source.winehq.org/git/wine.git/?a=commit;h=8600ba293449023f463ee807b... Author: Eric Pouech <eric.pouech(a)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(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)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; }
participants (1)
-
Alexandre Julliard