зеркало из https://github.com/mozilla/gecko-dev.git
Replace reinterpret_cast with static_cast for proper pointer casting. Checkin for atremon, b=236812 r=adamlock sr=jst
This commit is contained in:
Родитель
9281405553
Коммит
4967cd761d
|
@ -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
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче