Fix warning. No reviews other than my attempt to get useful info from our compile-time output, which this hindered.
authorbzbarsky@mit.edu
Wed, 19 Mar 2008 20:39:46 -0700
changeset 13356 a4701bc3fc6efd9dcf9d676cb0c5688e1b185fc9
parent 13355 a3d2b706e8089d338af8b09fc05057cecbab75df
child 13357 fbc1fa2fde9aba12a74f0ede5a06961ce4ae1520
push idunknown
push userunknown
push dateunknown
milestone1.9b5pre
Fix warning. No reviews other than my attempt to get useful info from our compile-time output, which this hindered.
content/base/src/nsDocument.cpp
--- a/content/base/src/nsDocument.cpp
+++ b/content/base/src/nsDocument.cpp
@@ -2735,17 +2735,17 @@ nsDocument::EndUpdate(nsUpdateType aUpda
     mBindingManager->EndOutermostUpdate();
   }
 
   if (mUpdateNestLevel == 0) {
     PRUint32 length = mFinalizableFrameLoaders.Length();
     if (length > 0) {
       nsTArray<nsRefPtr<nsFrameLoader> > loaders;
       mFinalizableFrameLoaders.SwapElements(loaders);
-      for (PRInt32 i = 0; i < length; ++i) {
+      for (PRUint32 i = 0; i < length; ++i) {
         loaders[i]->Finalize();
       }
     }
   }
 }
 
 PRUint32
 nsDocument::GetUpdateNestingLevel()