msxml3: Correct cast.

This commit is contained in:
Alistair Leslie-Hughes 2008-10-01 14:23:05 +10:00 committed by Alexandre Julliard
parent 23d899d8ab
commit 2b5a59c092
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}