shell32/tests: Constify some character strings

Frédéric Delanoy frederic.delanoy at gmail.com
Sat Dec 28 07:10:48 CST 2013


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

diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 0992924..f692837 100644
--- a/dlls/shell32/tests/shlfolder.c
+++ b/dlls/shell32/tests/shlfolder.c
@@ -1970,8 +1970,8 @@ static void test_SHGetFolderPathAndSubDirA(void)
     BOOL delret;
     DWORD dwret;
     int i;
-    static char wine[] = "wine";
-    static char winetemp[] = "wine\\temp";
+    static const char wine[] = "wine";
+    static const char winetemp[] = "wine\\temp";
     static char appdata[MAX_PATH];
     static char testpath[MAX_PATH];
     static char toolongpath[MAX_PATH+1];
-- 
1.8.5.2




More information about the wine-patches mailing list