Treat REG_DWORD values in inf files as unsigned values.

svn path=/trunk/; revision=56390
This commit is contained in:
Eric Kohl 2012-04-22 22:40:43 +00:00
parent 5258184b49
commit d0ca2665de

View file

@ -306,7 +306,7 @@ do_reg_operation(HANDLE KeyHandle,
if (Type == REG_DWORD)
{
ULONG dw = Str ? wcstol (Str, NULL, 0) : 0;
ULONG dw = Str ? wcstoul (Str, NULL, 0) : 0;
DPRINT("setting dword %wZ to %lx\n", ValueName, dw);