Gerald Pfeifer : msi: Adjust the types of loop variables.

Alexandre Julliard julliard at winehq.org
Fri Jan 4 07:12:45 CST 2008


Module: wine
Branch: master
Commit: 2b1e487d3651af83ca15253c5c065ea5208ffaa1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2b1e487d3651af83ca15253c5c065ea5208ffaa1

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Thu Jan  3 22:56:39 2008 +0100

msi: Adjust the types of loop variables.

---

 dlls/msi/table.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index 42845d9..2da9d2c 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -481,7 +481,7 @@ end:
 
 static void free_table( MSITABLE *table )
 {
-    int i;
+    UINT i;
     for( i=0; i<table->row_count; i++ )
         msi_free( table->data[i] );
     msi_free( table->data );
@@ -1050,7 +1050,7 @@ static void msi_update_table_columns( MSIDATABASE *db, LPCWSTR name )
 {
     MSITABLE *table;
     UINT size, offset, old_count;
-    int n;
+    UINT n;
 
     table = find_cached_table( db, name );
     old_count = table->col_count;
@@ -1778,7 +1778,7 @@ static UINT TABLE_find_matching_rows( struct tagMSIVIEW *view, UINT col,
 static UINT TABLE_add_ref(struct tagMSIVIEW *view)
 {
     MSITABLEVIEW *tv = (MSITABLEVIEW*)view;
-    int i;
+    UINT i;
 
     TRACE("%p %d\n", view, tv->table->ref_count);
 
@@ -1829,8 +1829,7 @@ static UINT TABLE_release(struct tagMSIVIEW *view)
 {
     MSITABLEVIEW *tv = (MSITABLEVIEW*)view;
     INT ref = tv->table->ref_count;
-    int i;
-    UINT r;
+    UINT i, r;
 
     TRACE("%p %d\n", view, ref);
 




More information about the wine-cvs mailing list