hlink/tests: Constify some character strings

Frédéric Delanoy frederic.delanoy at gmail.com
Sat Dec 21 07:32:25 CST 2013


---
 dlls/hlink/tests/hlink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/hlink/tests/hlink.c b/dlls/hlink/tests/hlink.c
index 91f7c4a..f4e3d5c 100644
--- a/dlls/hlink/tests/hlink.c
+++ b/dlls/hlink/tests/hlink.c
@@ -1719,8 +1719,8 @@ static void test_HashLink(void)
     }
 }
 
-static WCHAR site_monikerW[] = {'S','I','T','E','_','M','O','N','I','K','E','R',0};
-static WCHAR ref_monikerW[] = {'R','E','F','_','M','O','N','I','K','E','R',0};
+static const WCHAR site_monikerW[] = {'S','I','T','E','_','M','O','N','I','K','E','R',0};
+static const WCHAR ref_monikerW[] = {'R','E','F','_','M','O','N','I','K','E','R',0};
 
 static HRESULT WINAPI hls_test_Moniker_BindToStorage(IMoniker *iface,
         IBindCtx *pbc, IMoniker *toLeft, REFIID riid, void **obj)
-- 
1.8.5.2




More information about the wine-patches mailing list