PRUint32 j; for (j=cnt-1;j >= 0; j--)
PRInt32 j; for (j=0; j<cnt; j++)
nsDOMSelection::~nsDOMSelection(){  PRUint32 cnt = 0;  nsresult rv = mRangeArray->Count(&cnt);  NS_ASSERTION(NS_SUCCEEDED(rv), "Count failed");  PRUint32 j;  for (j=cnt-1;j >= 0; j--)	{	  mRangeArray->RemoveElementAt(j);	}  setAnchorFocusRange(-1);}