Gerald Pfeifer : winedbg: Fix type of loop variable in types_udt_find_element().
Alexandre Julliard
julliard at winehq.org
Fri Nov 16 08:31:22 CST 2007
Module: wine
Branch: master
Commit: a6dd4795fabf9466cef1344fed100d967d4814f7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6dd4795fabf9466cef1344fed100d967d4814f7
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Thu Nov 15 21:06:26 2007 +0100
winedbg: Fix type of loop variable in types_udt_find_element().
---
programs/winedbg/types.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 9a3d4f4..06b7355 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -259,7 +259,6 @@ BOOL types_udt_find_element(struct dbg_lvalue* lvalue, const char* name, long in
TI_FINDCHILDREN_PARAMS* fcp = (TI_FINDCHILDREN_PARAMS*)buffer;
WCHAR* ptr;
char tmp[256];
- int i;
struct dbg_type type;
if (!types_get_info(&lvalue->type, TI_GET_SYMTAG, &tag) ||
@@ -274,6 +273,7 @@ BOOL types_udt_find_element(struct dbg_lvalue* lvalue, const char* name, long in
fcp->Count = min(count, 256);
if (types_get_info(&lvalue->type, TI_FINDCHILDREN, fcp))
{
+ unsigned i;
type.module = lvalue->type.module;
for (i = 0; i < min(fcp->Count, count); i++)
{
More information about the wine-cvs
mailing list