=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: winhttp/tests: Constify a character string.

Alexandre Julliard julliard at winehq.org
Tue Dec 31 11:11:44 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Dec 31 03:00:46 2013 +0100

winhttp/tests: Constify a character string.

---

 dlls/winhttp/tests/winhttp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);




More information about the wine-cvs mailing list