msi: Constify some parameters.
diff --git a/dlls/msi/create.c b/dlls/msi/create.c
index 05c40cf..89d3288 100644
--- a/dlls/msi/create.c
+++ b/dlls/msi/create.c
@@ -42,7 +42,7 @@
{
MSIVIEW view;
MSIDATABASE *db;
- LPWSTR name;
+ LPCWSTR name;
BOOL bIsTemp;
BOOL hold;
column_info *col_info;
@@ -145,9 +145,9 @@
NULL,
};
-static UINT check_columns( column_info *col_info )
+static UINT check_columns( const column_info *col_info )
{
- column_info *c1, *c2;
+ const column_info *c1, *c2;
/* check for two columns with the same name */
for( c1 = col_info; c1; c1 = c1->next )
@@ -158,7 +158,7 @@
return ERROR_SUCCESS;
}
-UINT CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, LPWSTR table,
+UINT CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR table,
column_info *col_info, BOOL hold )
{
MSICREATEVIEW *cv = NULL;