diff --git a/dlls/msi/storages.c b/dlls/msi/storages.c index 144f8fd4859..5b555badcfa 100644 --- a/dlls/msi/storages.c +++ b/dlls/msi/storages.c @@ -69,7 +69,7 @@ static BOOL storages_set_table_size(MSISTORAGESVIEW *sv, UINT size) return TRUE; } -static STORAGE *create_storage(MSISTORAGESVIEW *sv, LPWSTR name, IStorage *stg) +static STORAGE *create_storage(MSISTORAGESVIEW *sv, LPCWSTR name, IStorage *stg) { STORAGE *storage; diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c index fc660c82cd1..e4204a2addb 100644 --- a/dlls/msi/streams.c +++ b/dlls/msi/streams.c @@ -68,7 +68,7 @@ static BOOL streams_set_table_size(MSISTREAMSVIEW *sv, UINT size) return TRUE; } -static STREAM *create_stream(MSISTREAMSVIEW *sv, LPWSTR name, BOOL encoded, IStream *stm) +static STREAM *create_stream(MSISTREAMSVIEW *sv, LPCWSTR name, BOOL encoded, IStream *stm) { STREAM *stream; WCHAR decoded[MAX_STREAM_NAME_LEN];