Hans Leidekker : msi: Make the name parameter of create_storage and create_stream constant.

Alexandre Julliard julliard at winehq.org
Mon Apr 19 11:51:15 CDT 2010


Module: wine
Branch: master
Commit: fc15e565d308437477302695a72e8feaf2e4d955
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fc15e565d308437477302695a72e8feaf2e4d955

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Apr 19 12:37:20 2010 +0200

msi: Make the name parameter of create_storage and create_stream constant.

---

 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];




More information about the wine-cvs mailing list