Index: core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp |
index e4876a0d2682dda00c55fb6c67789f9cbe2eff96..92e0ff4d122473fc969e1080f1195ffb79eadbb6 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp |
@@ -832,7 +832,7 @@ void CPDF_RenderStatus::DrawShading(CPDF_ShadingPattern* pPattern, |
CPDF_Array* pBackColor = |
pPattern->m_pShadingObj->GetDict()->GetArrayBy("Background"); |
if (pBackColor && |
- pBackColor->GetCount() >= (FX_DWORD)pColorSpace->CountComponents()) { |
+ pBackColor->GetCount() >= pColorSpace->CountComponents()) { |
CFX_FixedBufGrow<FX_FLOAT, 16> comps(pColorSpace->CountComponents()); |
for (int i = 0; i < pColorSpace->CountComponents(); i++) { |
comps[i] = pBackColor->GetNumberAt(i); |