msi: Constify a character string

Frédéric Delanoy frederic.delanoy at gmail.com
Tue Dec 17 15:17:37 CST 2013


---
 dlls/msi/msi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the wine-patches mailing list