| Index: core/fpdfapi/fpdf_font/cpdf_type3font.cpp
 | 
| diff --git a/core/fpdfapi/fpdf_font/cpdf_type3font.cpp b/core/fpdfapi/fpdf_font/cpdf_type3font.cpp
 | 
| index 9f37d4adeece4341e024f302000bdc7a16825116..92f5102cdbc73c0b3444b54ac4224bb52c2112cb 100644
 | 
| --- a/core/fpdfapi/fpdf_font/cpdf_type3font.cpp
 | 
| +++ b/core/fpdfapi/fpdf_font/cpdf_type3font.cpp
 | 
| @@ -57,14 +57,12 @@ FX_BOOL CPDF_Type3Font::Load() {
 | 
|    int StartChar = m_pFontDict->GetIntegerBy("FirstChar");
 | 
|    CPDF_Array* pWidthArray = m_pFontDict->GetArrayBy("Widths");
 | 
|    if (pWidthArray && (StartChar >= 0 && StartChar < 256)) {
 | 
| -    uint32_t count = pWidthArray->GetCount();
 | 
| -    if (count > 256) {
 | 
| +    size_t count = pWidthArray->GetCount();
 | 
| +    if (count > 256)
 | 
|        count = 256;
 | 
| -    }
 | 
| -    if (StartChar + count > 256) {
 | 
| +    if (StartChar + count > 256)
 | 
|        count = 256 - StartChar;
 | 
| -    }
 | 
| -    for (uint32_t i = 0; i < count; i++) {
 | 
| +    for (size_t i = 0; i < count; i++) {
 | 
|        m_CharWidthL[StartChar + i] =
 | 
|            FXSYS_round(pWidthArray->GetNumberAt(i) * xscale * 1000);
 | 
|      }
 | 
| 
 |