Fixes compilation error with sun workshop. Removed bogus case to

PRBool. r=akhil.arora@sun.com


git-svn-id: svn://10.0.0.236/trunk@53937 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com 1999-11-19 01:14:07 +00:00
parent 5a3213de7c
commit 56f3b0c295

View File

@ -189,5 +189,5 @@ PRBool nsAllocator::FetchAllocator()
{
nsAllocatorImpl::Create(NULL, nsIAllocator::GetIID(), (void**)&mAllocator);
NS_ASSERTION(mAllocator, "failed to get Allocator!");
return (PRBool) mAllocator;
return (mAllocator ? PR_TRUE : PR_FALSE);
}