diff --git a/layout/xul/base/src/nsBoxFrame.cpp b/layout/xul/base/src/nsBoxFrame.cpp index e89b0e24975c..40c924b71f38 100644 --- a/layout/xul/base/src/nsBoxFrame.cpp +++ b/layout/xul/base/src/nsBoxFrame.cpp @@ -297,7 +297,8 @@ nsBoxFrame::FlowChildren(nsIPresContext& aPresContext, //----------------------------------- PRBool resized[100]; - for (int i=0; i < mSpringCount; i++) + int i; + for (i=0; i < mSpringCount; i++) resized[i] = PR_FALSE; PRBool finished;