Attempting to fix 74057, although not likely. See bug for details.

If you are asserting after this patch is applied, please contact dougt@netscape.com.

r=gagan@netscape.com
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@92258 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2001-04-14 00:34:06 +00:00
parent c9e29953a6
commit 6e8d19ed26
2 changed files with 43 additions and 18 deletions

View File

@@ -307,7 +307,7 @@ nsProxyEventClass::DelegatedQueryInterface(nsProxyEventObject* self,
if(aIID.Equals(NS_GET_IID(ProxyEventClassIdentity)))
{
*aInstancePtr = (void**)self; //todo this should be a static cast
*aInstancePtr = NS_STATIC_CAST(void*, self);
NS_ADDREF(self);
return NS_OK;
}