diff --git a/dlls/msi/action.c b/dlls/msi/action.c index c61a70b22be..9303bcb5c8f 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -240,7 +240,7 @@ struct _actions { STANDARDACTIONHANDLER handler; }; -static struct _actions StandardActions[]; +static const struct _actions StandardActions[]; /******************************************************** @@ -4316,7 +4316,7 @@ static UINT ACTION_UnregisterComPlus( MSIPACKAGE *package ) return msi_unimplemented_action_stub( package, "UnregisterComPlus", table ); } -static struct _actions StandardActions[] = { +static const struct _actions StandardActions[] = { { szAllocateRegistrySpace, ACTION_AllocateRegistrySpace }, { szAppSearch, ACTION_AppSearch }, { szBindImage, ACTION_BindImage }, diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index b05049784f0..e222dcba880 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -2399,7 +2399,7 @@ static BOOL str_is_number( LPCWSTR str ) return TRUE; } -WCHAR column_keys[][80] = +static const WCHAR column_keys[][80] = { {'V','o','l','u','m','e','C','o','s','t','V','o','l','u','m','e',0}, {'V','o','l','u','m','e','C','o','s','t','S','i','z','e',0}, diff --git a/dlls/msi/font.c b/dlls/msi/font.c index 32dbbbe9687..2b08a0f7a43 100644 --- a/dlls/msi/font.c +++ b/dlls/msi/font.c @@ -137,7 +137,7 @@ static LPWSTR load_ttfname_from(LPCWSTR filename) { int nPos; LPSTR buf; - static LPCSTR tt = " (TrueType)"; + static const char tt[] = " (TrueType)"; ttRecord.uStringLength = SWAPWORD(ttRecord.uStringLength); ttRecord.uStringOffset = SWAPWORD(ttRecord.uStringOffset); diff --git a/dlls/msi/update.c b/dlls/msi/update.c index 502af143d87..a2bcbd06d55 100644 --- a/dlls/msi/update.c +++ b/dlls/msi/update.c @@ -171,7 +171,7 @@ static UINT UPDATE_find_matching_rows( struct tagMSIVIEW *view, UINT col, UINT v } -static MSIVIEWOPS update_ops = +static const MSIVIEWOPS update_ops = { UPDATE_fetch_int, NULL,