Bug 1024195 - Fix a compilation error with clang-cl in nsContentList.cpp; r=bzbarsky

This is similar to bug 1021494.
This commit is contained in:
Ehsan Akhgari 2014-06-11 21:56:59 -04:00
parent 05498d5ed9
commit 7556a5e97a

View File

@ -518,7 +518,7 @@ nsContentList::Item(uint32_t aIndex, bool aDoFlush)
}
if (mState != LIST_UP_TO_DATE)
PopulateSelf(std::min(aIndex, UINT32_MAX - 1) + 1);
PopulateSelf(std::min(aIndex, uint32_t(UINT32_MAX - 1)) + 1);
ASSERT_IN_SYNC;
NS_ASSERTION(!mRootNode || mState != LIST_DIRTY,