=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: msi: Constify a character string.

Alexandre Julliard julliard at winehq.org
Wed Dec 18 14:27:47 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Dec 17 22:17:37 2013 +0100

msi: Constify a character string.

---

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

diff --git a/dlls/msi/msi.c b/dlls/msi/msi.c
index c1f4fcc..f8a1874 100644
--- a/dlls/msi/msi.c
+++ b/dlls/msi/msi.c
@@ -359,7 +359,7 @@ static UINT MSI_ApplyPatchW(LPCWSTR szPatchPackage, LPCWSTR szProductCode, LPCWS
     BOOL succeeded = FALSE;
 
     static const WCHAR fmt[] = {'%','s',' ','P','A','T','C','H','=','"','%','s','"',0};
-    static WCHAR empty[] = {0};
+    static const WCHAR empty[] = {0};
 
     if (!szPatchPackage || !szPatchPackage[0])
         return ERROR_INVALID_PARAMETER;




More information about the wine-cvs mailing list