Commit 7da2a20a authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winecfg: Fix signedness of variable in enumerate_valuesW().

parent c6db778f
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment