ntdll: Use wcstoul() instead of strtoulW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
285c5490a4
commit
4b5cd5e66d
|
@ -3319,7 +3319,7 @@ static NTSTATUS query_dword_option( HANDLE hkey, LPCWSTR name, ULONG *value )
|
||||||
if (info->Type != REG_DWORD)
|
if (info->Type != REG_DWORD)
|
||||||
{
|
{
|
||||||
buffer[size / sizeof(WCHAR)] = 0;
|
buffer[size / sizeof(WCHAR)] = 0;
|
||||||
*value = strtoulW( (WCHAR *)info->Data, 0, 16 );
|
*value = wcstoul( (WCHAR *)info->Data, 0, 16 );
|
||||||
}
|
}
|
||||||
else memcpy( value, info->Data, sizeof(*value) );
|
else memcpy( value, info->Data, sizeof(*value) );
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue