Alex Henrie : msxml3/tests: Make put_data_types const.

Alexandre Julliard julliard at winehq.org
Wed Jan 10 17:06:29 CST 2018


Module: wine
Branch: master
Commit: 53a55fbdb1784e8f3514d15a8545e2e80f9f06ca
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=53a55fbdb1784e8f3514d15a8545e2e80f9f06ca

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Mon Jan  8 21:19:48 2018 -0700

msxml3/tests: Make put_data_types const.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msxml3/tests/domdoc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index 26555d2..1306590 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -11993,7 +11993,7 @@ static void test_get_namespaces(void)
     free_bstrs();
 }
 
-static DOMNodeType put_data_types[] = {
+static const DOMNodeType put_data_types[] = {
     NODE_TEXT,
     NODE_CDATA_SECTION,
     NODE_PROCESSING_INSTRUCTION,
@@ -12006,7 +12006,7 @@ static void test_put_data(void)
     static const WCHAR test_data[] = {'t','e','s','t',' ','n','o','d','e',' ','d','a','t','a',0};
     WCHAR buff[100], *data;
     IXMLDOMDocument *doc;
-    DOMNodeType *type;
+    const DOMNodeType *type;
     IXMLDOMText *text;
     IXMLDOMNode *node;
     VARIANT v;




More information about the wine-cvs mailing list