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

View file

@ -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;
}