diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 02beb0cfb4d..ee9a13baaa0 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -2003,7 +2003,7 @@ static LPWSTR msi_get_disk_file_version( LPCWSTR filename ) { static const WCHAR name_fmt[] = {'%','u','.','%','u','.','%','u','.','%','u',0}; - static WCHAR name[] = {'\\',0}; + static const WCHAR name[] = {'\\',0}; VS_FIXEDFILEINFO *lpVer; WCHAR filever[0x100]; LPVOID version; diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index 7f59b4ec844..e919b0d240c 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -405,7 +405,7 @@ static HRESULT WINAPI AutomationObject_Invoke( (hr == DISP_E_PARAMNOTFOUND || hr == DISP_E_EXCEPTION)) { static const WCHAR szComma[] = { ',',0 }; - static WCHAR szExceptionSource[] = {'M','s','i',' ','A','P','I',' ','E','r','r','o','r',0}; + static const WCHAR szExceptionSource[] = {'M','s','i',' ','A','P','I',' ','E','r','r','o','r',0}; WCHAR szExceptionDescription[MAX_PATH]; BSTR bstrParamNames[MAX_FUNC_PARAMS]; unsigned namesNo, i; diff --git a/dlls/msi/database.c b/dlls/msi/database.c index 875d2d0b681..eaf8ebdec07 100644 --- a/dlls/msi/database.c +++ b/dlls/msi/database.c @@ -83,7 +83,7 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb) WCHAR path[MAX_PATH]; static const WCHAR backslash[] = {'\\',0}; - static WCHAR szTables[] = { '_','T','a','b','l','e','s',0 }; + static const WCHAR szTables[] = { '_','T','a','b','l','e','s',0 }; TRACE("%s %s\n",debugstr_w(szDBPath),debugstr_w(szPersist) );