From 389c2d69663be5b414f88511802d2db7ecf2f94d Mon Sep 17 00:00:00 2001 From: "jband%netscape.com" Date: Thu, 7 Dec 2000 08:33:50 +0000 Subject: [PATCH] fix build bustage on some platforms from MI ambiguity git-svn-id: svn://10.0.0.236/trunk@83367 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/src/xpconnect/src/xpcwrappednativeclass.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/js/src/xpconnect/src/xpcwrappednativeclass.cpp b/mozilla/js/src/xpconnect/src/xpcwrappednativeclass.cpp index ef957170a18..49e44207cff 100644 --- a/mozilla/js/src/xpconnect/src/xpcwrappednativeclass.cpp +++ b/mozilla/js/src/xpconnect/src/xpcwrappednativeclass.cpp @@ -340,8 +340,9 @@ nsXPCWrappedNativeClass::HandlePossibleNameCaseError(JSContext* cx, jsid id) char* locationStr = nsnull; nsCOMPtr e = - dont_AddRef(nsXPCException::NewException("", NS_OK, - nsnull, nsnull)); + dont_AddRef(NS_STATIC_CAST(nsIXPCException*, + nsXPCException::NewException("", + NS_OK, nsnull, nsnull))); nsCOMPtr loc = nsnull; if(e)