comcat/tests: Constify some character strings
Frédéric Delanoy
frederic.delanoy at gmail.com
Sat Dec 21 07:32:20 CST 2013
---
dlls/comcat/tests/comcat.c | 6 +++---
1 file 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','-',
--
1.8.5.2
More information about the wine-patches
mailing list