Fixed cast problem.

This commit is contained in:
warren%netscape.com 1999-04-12 22:42:39 +00:00
parent ee178adf4a
commit ef32c0920b

View File

@ -109,7 +109,7 @@ nsNetFactory::CreateInstance(nsISupports *aOuter,
nsUrl* url = new nsUrl(aOuter);
if (url == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
inst = url;
inst = NS_STATIC_CAST(nsIUrl*, url);
}
else {
return NS_ERROR_NO_INTERFACE;