From 2b5a59c092441123a2ffc09a90da62056a0302fd Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 1 Oct 2008 14:23:05 +1000 Subject: [PATCH] msxml3: Correct cast. --- dlls/msxml3/queryresult.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/msxml3/queryresult.c b/dlls/msxml3/queryresult.c index 56c1a537674..d38cc19b95b 100644 --- a/dlls/msxml3/queryresult.c +++ b/dlls/msxml3/queryresult.c @@ -340,7 +340,7 @@ static HRESULT queryresult_invoke(IUnknown *iface, DISPID id, LCID lcid, WORD fl IXMLDOMNode *disp = NULL; queryresult_get_item(XMLQUERYRES(This), id - MSXML_DISPID_CUSTOM_MIN, &disp); - V_DISPATCH(res) = (IDispatch*)&disp; + V_DISPATCH(res) = (IDispatch*)disp; break; } default: @@ -350,6 +350,8 @@ static HRESULT queryresult_invoke(IUnknown *iface, DISPID id, LCID lcid, WORD fl } } + TRACE("ret %p\n", V_DISPATCH(res)); + return S_OK; }