winedbg: Accept hex values in command line.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-07-01 16:33:44 +02:00 committed by Alexandre Julliard
parent 3319526fda
commit 8600ba2934
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ static BOOL str2int(const char* str, DWORD_PTR* val)
{ {
char* ptr; char* ptr;
*val = strtol(str, &ptr, 10); *val = strtol(str, &ptr, 0);
return str < ptr && !*ptr; return str < ptr && !*ptr;
} }