Removed a compiler warning

This commit is contained in:
kipp@netscape.com
1998-11-20 17:21:22 +00:00
parent 48bc9e4782
commit 9aaec77f35
2 changed files with 2 additions and 2 deletions
@@ -684,7 +684,7 @@ nsHTMLTableElement::InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aValue)
GetRows(&rows);
PRUint32 rowCount;
rows->GetLength(&rowCount);
if (rowCount>refIndex)
if (rowCount>PRUint32(refIndex))
refIndex=rowCount-1; // index >= the total number of rows means to append the row
nsIDOMNode *refRow;
rows->Item(refIndex, &refRow);