Hallo,
for me it looks as if the same fix as to files/drive.c with regard to the
usage of strtolW versus strtoulW should be applied to
dlls/setupapi/install.c too.
Bye
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/setupapi/install.c
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/install.c,v
retrieving revision 1.5
diff -u -r1.5 install.c
--- wine/dlls/setupapi/install.c 18 Oct 2002 23:48:58 -0000 1.5
+++ wine/dlls/setupapi/install.c 22 Dec 2002 16:56:27 -0000
@@ -315,7 +315,7 @@
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) );
}