winhttp/tests: Constify a character string

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Dec 30 20:00:46 CST 2013


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

diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index e073e6a..255eb09 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -292,7 +292,7 @@ static void test_SendRequest (void)
     static const WCHAR test_file[] = {'/','p','o','s','t','t','e','s','t','.','p','h','p',0};
     static const WCHAR test_verb[] = {'P','O','S','T',0};
     static CHAR post_data[] = "mode=Test";
-    static CHAR test_post[] = "mode => Test\\0\n";
+    static const char test_post[] = "mode => Test\\0\n";
 
     header_len = -1L;
     total_len = optional_len = sizeof(post_data);
-- 
1.8.5.2




More information about the wine-patches mailing list