From 7556a5e97a6742a17ce18a7cd45e67191d732999 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 11 Jun 2014 21:56:59 -0400 Subject: [PATCH] Bug 1024195 - Fix a compilation error with clang-cl in nsContentList.cpp; r=bzbarsky This is similar to bug 1021494. --- content/base/src/nsContentList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsContentList.cpp b/content/base/src/nsContentList.cpp index a48d2a7aa82..86f1d0c8c75 100644 --- a/content/base/src/nsContentList.cpp +++ b/content/base/src/nsContentList.cpp @@ -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,