Commit 0704955c authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Use strtoulW instead of strtolW for DWORD conversion.

parent 1eb2c050
......@@ -315,7 +315,7 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
if (type == REG_DWORD)
{
DWORD dw = str ? strtolW( str, NULL, 16 ) : 0;
DWORD dw = str ? strtoulW( str, NULL, 16 ) : 0;
TRACE( "setting dword %s to %lx\n", debugstr_w(value), dw );
RegSetValueExW( hkey, value, 0, type, (BYTE *)&dw, sizeof(dw) );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment