Index: core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp b/core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp |
index 4ca9acbea72d9950a00d11402efda8d7a1aa88d3..f637a4463c80d05cf20e5a76212e23f356c19a55 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp |
@@ -43,7 +43,7 @@ CPDF_ShadingPattern::CPDF_ShadingPattern(CPDF_Document* pDoc, |
if (parentMatrix) |
m_Pattern2Form.Concat(*parentMatrix); |
} |
- for (int i = 0; i < FX_ArraySize(m_pFunctions); ++i) |
+ for (size_t i = 0; i < FX_ArraySize(m_pFunctions); ++i) |
m_pFunctions[i] = nullptr; |
} |