Gerald Pfeifer : winecfg: Fix signedness of variable in enumerate_valuesW() .
Alexandre Julliard
julliard at winehq.org
Tue Jul 8 06:11:16 CDT 2008
Module: wine
Branch: master
Commit: 7da2a20a1944c257248bdc2e48a8b0705a13e922
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7da2a20a1944c257248bdc2e48a8b0705a13e922
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Jul 5 14:15:17 2008 +0200
winecfg: Fix signedness of variable in enumerate_valuesW().
---
programs/winecfg/winecfg.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c
index 3fdc796..f1439a7 100644
--- a/programs/winecfg/winecfg.c
+++ b/programs/winecfg/winecfg.c
@@ -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);
More information about the wine-cvs
mailing list