=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: inetcomm/tests: Constify some character strings.
Alexandre Julliard
julliard at winehq.org
Thu Dec 26 12:23:32 CST 2013
Module: wine
Branch: master
Commit: ff304fb5c75a7bc5f17dcdd1acb2203872923810
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff304fb5c75a7bc5f17dcdd1acb2203872923810
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Tue Dec 24 09:25:35 2013 +0100
inetcomm/tests: Constify some character strings.
---
dlls/inetcomm/tests/mimeole.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/inetcomm/tests/mimeole.c b/dlls/inetcomm/tests/mimeole.c
index 389e267..7e98563 100644
--- a/dlls/inetcomm/tests/mimeole.c
+++ b/dlls/inetcomm/tests/mimeole.c
@@ -32,7 +32,7 @@
#include "wine/test.h"
-static char msg1[] =
+static const char msg1[] =
"MIME-Version: 1.0\r\n"
"Content-Type: multipart/mixed;\r\n"
" boundary=\"------------1.5.0.6\";\r\n"
@@ -224,7 +224,7 @@ static void test_CreateMessage(void)
char text[] = "text";
HBODY *body_list;
PROPVARIANT prop;
- static char att_pritype[] = "att:pri-content-type";
+ static const char att_pritype[] = "att:pri-content-type";
hr = MimeOleCreateMessage(NULL, &msg);
ok(hr == S_OK, "ret %08x\n", hr);
More information about the wine-cvs
mailing list