Alistair Leslie-Hughes : msxml3: Correct cast.
Alexandre Julliard
julliard at winehq.org
Wed Oct 1 14:09:40 CDT 2008
Module: wine
Branch: master
Commit: 2b5a59c092441123a2ffc09a90da62056a0302fd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b5a59c092441123a2ffc09a90da62056a0302fd
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed Oct 1 14:23:05 2008 +1000
msxml3: Correct cast.
---
dlls/msxml3/queryresult.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/queryresult.c b/dlls/msxml3/queryresult.c
index 56c1a53..d38cc19 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;
}
More information about the wine-cvs
mailing list