projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5258184
)
[USETUP]
author
Eric Kohl
<eric.kohl@reactos.org>
Sun, 22 Apr 2012 22:40:43 +0000
(22:40 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sun, 22 Apr 2012 22:40:43 +0000
(22:40 +0000)
Treat REG_DWORD values in inf files as unsigned values.
svn path=/trunk/; revision=56390
reactos/base/setup/usetup/registry.c
patch
|
blob
|
history
diff --git
a/reactos/base/setup/usetup/registry.c
b/reactos/base/setup/usetup/registry.c
index
7cd0672
..
d93e707
100644
(file)
--- a/
reactos/base/setup/usetup/registry.c
+++ b/
reactos/base/setup/usetup/registry.c
@@
-306,7
+306,7
@@
do_reg_operation(HANDLE KeyHandle,
if (Type == REG_DWORD)
{
- ULONG dw = Str ? wcstol (Str, NULL, 0) : 0;
+ ULONG dw = Str ? wcsto
u
l (Str, NULL, 0) : 0;
DPRINT("setting dword %wZ to %lx\n", ValueName, dw);