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:
parent
3319526fda
commit
8600ba2934
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue