Paul Vriens : msxml3/tests: Cast-qual warning fixes.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 24 06:18:11 CST 2007
Module: wine
Branch: master
Commit: 695fa7542a5be9ccd3eff9c870834a88c25bb0e5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=695fa7542a5be9ccd3eff9c870834a88c25bb0e5
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Tue Jan 23 14:39:01 2007 +0100
msxml3/tests: Cast-qual warning fixes.
---
dlls/msxml3/tests/domdoc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index ef660ee..104bd5a 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -91,10 +91,10 @@ static const WCHAR szDocument[] = {
};
static const WCHAR szOpen[] = { 'o','p','e','n',0 };
-static const WCHAR szdl[] = { 'd','l',0 };
+static WCHAR szdl[] = { 'd','l',0 };
static const WCHAR szvr[] = { 'v','r',0 };
static const WCHAR szlc[] = { 'l','c',0 };
-static const WCHAR szbs[] = { 'b','s',0 };
+static WCHAR szbs[] = { 'b','s',0 };
static const WCHAR szstr1[] = { 's','t','r','1',0 };
static const WCHAR szstr2[] = { 's','t','r','2',0 };
static const WCHAR szstar[] = { '*',0 };
@@ -545,10 +545,10 @@ todo_wine
ok( FALSE, "no element\n");
node = (void*)0xdeadbeef;
- r = IXMLDOMNode_selectSingleNode( element, (BSTR)szdl, &node );
+ r = IXMLDOMNode_selectSingleNode( element, szdl, &node );
ok( r == S_FALSE, "ret %08x\n", r );
ok( node == NULL, "node %p\n", node );
- r = IXMLDOMNode_selectSingleNode( element, (BSTR)szbs, &node );
+ r = IXMLDOMNode_selectSingleNode( element, szbs, &node );
ok( r == S_OK, "ret %08x\n", r );
r = IXMLDOMNode_Release( node );
ok( r == 0, "ret %08x\n", r );
More information about the wine-cvs
mailing list