making the SunOS complier happy with an static cast

git-svn-id: svn://10.0.0.236/trunk@87597 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2001-02-21 22:15:31 +00:00
parent b72541c22a
commit ac5656785e

View File

@@ -175,14 +175,14 @@ nsFileTransportService::DispatchRequest(nsIRunnable* runnable)
nsresult
nsFileTransportService::AddSuspendedTransport(nsITransport* trans)
{
mSuspendedTransportList.AppendElement(trans);
mSuspendedTransportList.AppendElement(NS_STATIC_CAST(nsISupports*, trans));
return NS_OK;
}
nsresult
nsFileTransportService::RemoveSuspendedTransport(nsITransport* trans)
{
mSuspendedTransportList.RemoveElement(trans);
mSuspendedTransportList.RemoveElement(NS_STATIC_CAST(nsISupports*, trans));
return NS_OK;
}