msi: Adjust the types of loop variables.
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 @@
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 @@
{
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_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 @@
{
MSITABLEVIEW *tv = (MSITABLEVIEW*)view;
INT ref = tv->table->ref_count;
- int i;
- UINT r;
+ UINT i, r;
TRACE("%p %d\n", view, ref);