Bug 653295 - Fixing warning of comparision between signed and unsigned integer expressions in nsFrameSetFrame.cpp. r=bz

This commit is contained in:
Atul Aggarwal 2011-09-26 01:47:43 +05:30
Родитель d328ef8584
Коммит 55091f006e
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -1361,13 +1361,10 @@ nsHTMLFramesetFrame::RecalculateBorderResize()
if (NS_UNLIKELY(!childTypes)) {
return;
}
PRUint32 childIndex, childTypeIndex = 0;
// number of any type of children
PRUint32 numChildren = mContent->GetChildCount();
for (childIndex = 0; childIndex < numChildren; childIndex++) {
nsIContent *child = mContent->GetChildAt(childIndex);
PRInt32 childTypeIndex = 0;
for (nsIContent *child = mContent->GetFirstChild(); child;
child = child->GetNextSibling()) {
if (child->IsHTML()) {
nsINodeInfo *ni = child->NodeInfo();