winecfg: Fix signedness of variable in enumerate_valuesW().

This commit is contained in:
Gerald Pfeifer 2008-07-05 14:15:17 +02:00 committed by Alexandre Julliard
parent c6db778f4c
commit 7da2a20a19
1 changed files with 1 additions and 2 deletions

View File

@ -481,9 +481,8 @@ void set_reg_key_dwordW(HKEY root, const WCHAR *path, const WCHAR *name, DWORD v
WCHAR **enumerate_valuesW(HKEY root, WCHAR *path)
{
HKEY key;
DWORD res, i = 0;
DWORD res, i = 0, valueslen = 0;
WCHAR **values = NULL;
int valueslen = 0;
struct list *cursor;
res = RegOpenKeyW(root, path, &key);