[PATCH] msi: db.c test fix

Alexandre Julliard julliard at winehq.org
Sat Oct 6 10:21:31 CDT 2007


---
 dlls/msi/table.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index bf7d705..208beaf 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -1054,7 +1054,8 @@ static void msi_update_table_columns( MSIDATABASE *db, LPCWSTR name )
     for ( n = 0; n < table->row_count; n++ )
     {
         table->data[n] = msi_realloc( table->data[n], size );
-        table->data[n][offset] = (BYTE)MSI_NULL_INTEGER;
+        table->data[n][offset] = 0;
+        table->data[n][offset+1] = 0;
     }
 }
 
-- 
1.5.2.4




More information about the wine-patches mailing list