Index: core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp |
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp |
index f7c3f7d8d37568a66e3c6e3c37c05f697e27aacc..7e8b2e525bc065c4406a0de52137db9bf8298681 100644 |
--- a/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp |
+++ b/core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp |
@@ -173,7 +173,7 @@ FX_BOOL CPDF_MeshStream::Load(CPDF_Stream* pShadingStream, |
if (!m_nCoordBits || !m_nCompBits) { |
return FALSE; |
} |
- int nComps = pCS->CountComponents(); |
+ FX_DWORD nComps = pCS->CountComponents(); |
if (nComps > 8) { |
return FALSE; |
} |