[2/6] msi: Make the name parameter of create_storage and create_stream constant.

Hans Leidekker hans at codeweavers.com
Mon Apr 19 05:37:20 CDT 2010


---
 dlls/msi/storages.c |    2 +-
 dlls/msi/streams.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/storages.c b/dlls/msi/storages.c
index 144f8fd..5b555ba 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 fc660c8..e4204a2 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];
-- 
1.7.0.4







More information about the wine-patches mailing list