inetcomm/tests: Constify some character strings
Frédéric Delanoy
frederic.delanoy at gmail.com
Tue Dec 24 02:25:35 CST 2013
---
dlls/inetcomm/tests/mimeole.c | 4 ++--
1 file 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);
--
1.8.5.2
More information about the wine-patches
mailing list