mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 15:51:37 +00:00
Fixed cast problem.
This commit is contained in:
parent
ee178adf4a
commit
ef32c0920b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user