Alexandre Julliard : ntdll: Use wcstoul() instead of strtoulW().
Alexandre Julliard
julliard at winehq.org
Tue Mar 31 16:44:22 CDT 2020
Module: wine
Branch: master
Commit: 4b5cd5e66d31210007933f2b4460a2fde0b3df12
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4b5cd5e66d31210007933f2b4460a2fde0b3df12
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 31 11:49:15 2020 +0200
ntdll: Use wcstoul() instead of strtoulW().
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/loader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 30608204fc..9a88ea5e95 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -3319,7 +3319,7 @@ static NTSTATUS query_dword_option( HANDLE hkey, LPCWSTR name, ULONG *value )
if (info->Type != REG_DWORD)
{
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) );
return status;
More information about the wine-cvs
mailing list