scrrun/tests: Constify a character string

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


---
 dlls/scrrun/tests/filesystem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/scrrun/tests/filesystem.c b/dlls/scrrun/tests/filesystem.c
index 630de1b..ba0ff37 100644
--- a/dlls/scrrun/tests/filesystem.c
+++ b/dlls/scrrun/tests/filesystem.c
@@ -134,7 +134,7 @@ static void test_createfolder(void)
 
 static void test_textstream(void)
 {
-    static WCHAR testfileW[] = {'t','e','s','t','f','i','l','e','.','t','x','t',0};
+    static const WCHAR testfileW[] = {'t','e','s','t','f','i','l','e','.','t','x','t',0};
     ITextStream *stream;
     VARIANT_BOOL b;
     HANDLE file;
-- 
1.8.5.2




More information about the wine-patches mailing list