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

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


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

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

comcat/tests: Constify some character strings.

---

 dlls/comcat/tests/comcat.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/comcat/tests/comcat.c b/dlls/comcat/tests/comcat.c
index f78e234..ff5b51a 100644
--- a/dlls/comcat/tests/comcat.c
+++ b/dlls/comcat/tests/comcat.c
@@ -65,15 +65,15 @@ static void do_enum(void)
 	GUID the_cat[1];
 	GUID wanted_guid;
 	ULONG fetched = -1;
-	
-	static WCHAR szCatID[] = {
+
+        static const WCHAR szCatID[] = {
 			'{',
 			'd','e','a','d','c','a','f','e',
 			'-','0','0','0','0','-','0','0','0','0',
 			'-','0','0','0','0',
 			'-','0','0','0','0','0','0','0','0','0','0','0','0',
 			'}',0};
-	static WCHAR szGuid[] = {
+        static const WCHAR szGuid[] = {
 			'{',
 			'd','e','a','d','c','a','f','e','-',
 			'b','e','e','d','-',




More information about the wine-cvs mailing list