Author: ekohl
Date: Sun Apr 22 22:40:43 2012
New Revision: 56390
URL:
http://svn.reactos.org/svn/reactos?rev=56390&view=rev
Log:
[USETUP]
Treat REG_DWORD values in inf files as unsigned values.
Modified:
trunk/reactos/base/setup/usetup/registry.c
Modified: trunk/reactos/base/setup/usetup/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/registry…
==============================================================================
--- trunk/reactos/base/setup/usetup/registry.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/registry.c [iso-8859-1] Sun Apr 22 22:40:43 2012
@@ -306,7 +306,7 @@
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);