Fixed numerous compiler warnings (hopefully) from the mac build

This commit is contained in:
kipp@netscape.com
1998-12-18 17:34:34 +00:00
parent d4746e1f05
commit 7b0e75e786
27 changed files with 116 additions and 152 deletions
@@ -701,7 +701,7 @@ nsHTMLTableElement::InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aValue)
{
nsIDOMNode *newRowNode=nsnull;
newRow->QueryInterface(kIDOMNodeIID, (void **)&newRowNode); // caller's addref
if ((0<=aIndex) && (rowCount<=aIndex)) // the index is greater than the number of rows, so just append
if ((0<=aIndex) && (PRInt32(rowCount)<=aIndex)) // the index is greater than the number of rows, so just append
rv = parent->AppendChild(newRowNode, (nsIDOMNode **)aValue);
else // insert the new row before the reference row we found above
rv = parent->InsertBefore(newRowNode, refRow, (nsIDOMNode **)aValue);