Replace reinterpret_cast with static_cast for proper pointer casting. Checkin for atremon, b=236812 r=adamlock sr=jst

This commit is contained in:
locka%iol.ie 2004-06-14 17:56:07 +00:00
Родитель 9281405553
Коммит 4967cd761d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -267,8 +267,8 @@ HRESULT STDMETHODCALLTYPE CIEHtmlElement::get_parentElement(IHTMLElement __RPC_F
*p = NULL;
if (mParent)
{
IDispatch *pDisp = reinterpret_cast<IDispatch *>(mParent);
pDisp->QueryInterface(IID_IHTMLElement, (void **) p);
CIEHtmlElement *pElt = static_cast<CIEHtmlElement *>(mParent);
pElt->QueryInterface(IID_IHTMLElement, (void **) p);
}
else
{