mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Treat DWORD values as unsigned - Patch by vizzini
svn path=/trunk/; revision=5294
This commit is contained in:
parent
2ce9849248
commit
78e43e0f29
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: reginf.c,v 1.3 2003/05/18 12:12:07 ekohl Exp $
|
||||
/* $Id: reginf.c,v 1.4 2003/07/27 22:00:26 sedwards Exp $
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS hive maker
|
||||
* FILE: tools/mkhive/reginf.h
|
||||
|
@ -300,7 +300,7 @@ do_reg_operation(HKEY KeyHandle,
|
|||
|
||||
if (Type == REG_DWORD)
|
||||
{
|
||||
ULONG dw = Str ? strtol (Str, NULL, 0) : 0;
|
||||
ULONG dw = Str ? strtoul (Str, NULL, 0) : 0;
|
||||
|
||||
DPRINT("setting dword %s to %lx\n", ValueName, dw);
|
||||
|
||||
|
|
Loading…
Reference in a new issue