dlls/msi/table.c -- complete initializers
Gerald Pfeifer
gerald at pfeifer.com
Wed Jan 9 19:58:48 CST 2008
I thought I had sent this a while ago, but apparently I haven't. Good
to fix a few warnings with -Wextra or similar.
Gerald
ChangeLog:
Complete initializers.
Index: dlls/msi/table.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/table.c,v
retrieving revision 1.138
diff -u -3 -p -r1.138 table.c
--- dlls/msi/table.c 9 Jan 2008 13:03:54 -0000 1.138
+++ dlls/msi/table.c 10 Jan 2008 01:57:02 -0000
@@ -105,13 +105,13 @@ static WCHAR szType[] = { 'T','y','p'
* Do not mark them const.
*/
static MSICOLUMNINFO _Columns_cols[4] = {
- { szColumns, 1, szTable, MSITYPE_VALID | MSITYPE_STRING | MSITYPE_KEY | 64, 0 },
- { szColumns, 2, szNumber, MSITYPE_VALID | MSITYPE_KEY | 2, 2 },
- { szColumns, 3, szName, MSITYPE_VALID | MSITYPE_STRING | 64, 4 },
- { szColumns, 4, szType, MSITYPE_VALID | 2, 6 },
+ { szColumns, 1, szTable, MSITYPE_VALID | MSITYPE_STRING | MSITYPE_KEY | 64, 0, 0, NULL },
+ { szColumns, 2, szNumber, MSITYPE_VALID | MSITYPE_KEY | 2, 2, 0, NULL },
+ { szColumns, 3, szName, MSITYPE_VALID | MSITYPE_STRING | 64, 4, 0, NULL },
+ { szColumns, 4, szType, MSITYPE_VALID | 2, 6, 0, NULL },
};
static MSICOLUMNINFO _Tables_cols[1] = {
- { szTables, 1, szName, MSITYPE_VALID | MSITYPE_STRING | 64, 0 },
+ { szTables, 1, szName, MSITYPE_VALID | MSITYPE_STRING | 64, 0, 0, NULL },
};
#define MAX_STREAM_NAME 0x1f
More information about the wine-patches
mailing list