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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user