Fixing the Mac build bustage by calling the get() accessor for comparison

This commit is contained in:
sdagley%netscape.com 1999-03-12 01:16:08 +00:00
parent 4ffd0da95f
commit c76429f73c

View File

@ -485,7 +485,7 @@ nsRangeList::RemoveItem(nsISupports *aItem)
{
nsCOMPtr<nsISupports> indexIsupports = dont_AddRef(mRangeArray->ElementAt(i));
if (aItem == indexIsupports)
if (aItem == indexIsupports.get())
{
mRangeArray->RemoveElementAt(i);
return NS_OK;