Index: core/fpdfdoc/doc_formcontrol.cpp |
diff --git a/core/fpdfdoc/doc_formcontrol.cpp b/core/fpdfdoc/doc_formcontrol.cpp |
index 6435cfd76c79da34cbea28624519248a191034cf..55f05a599b39b5b32cf734b658435e9923a7904d 100644 |
--- a/core/fpdfdoc/doc_formcontrol.cpp |
+++ b/core/fpdfdoc/doc_formcontrol.cpp |
@@ -351,7 +351,7 @@ FX_ARGB CPDF_ApSettings::GetColor(int& iColorType, |
return 0; |
FX_ARGB color = 0; |
- uint32_t dwCount = pEntry->GetCount(); |
+ size_t dwCount = pEntry->GetCount(); |
if (dwCount == 1) { |
iColorType = COLORTYPE_GRAY; |
FX_FLOAT g = pEntry->GetNumberAt(0) * 255; |
@@ -400,7 +400,7 @@ void CPDF_ApSettings::GetOriginalColor(int& iColorType, |
if (!pEntry) { |
return; |
} |
- uint32_t dwCount = pEntry->GetCount(); |
+ size_t dwCount = pEntry->GetCount(); |
if (dwCount == 1) { |
iColorType = COLORTYPE_GRAY; |
fc[0] = pEntry->GetNumberAt(0); |