=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: hlink/tests: Constify some character strings.

Alexandre Julliard julliard at winehq.org
Mon Dec 23 13:44:57 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sat Dec 21 14:32:25 2013 +0100

hlink/tests: Constify some character strings.

---

 dlls/hlink/tests/hlink.c |    4 ++--
 1 files 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)




More information about the wine-cvs mailing list