| Index: core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
|
| diff --git a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
|
| index dd2be013115d13c7d57744c89a68941ec9d7919e..147ae37ed0a6033d9d6449a63149f943a84330a2 100644
|
| --- a/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
|
| +++ b/core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp
|
| @@ -185,7 +185,7 @@ FX_BOOL CPDF_HintTables::ReadPageHintTable(CFX_BitStream* hStream) {
|
| if (!CanReadFromBitStream(hStream, required_bits))
|
| return FALSE;
|
|
|
| - for (int j = 0; j < m_dwNSharedObjsArray[i]; j++)
|
| + for (uint32_t j = 0; j < m_dwNSharedObjsArray[i]; j++)
|
| m_dwIdentifierArray.Add(hStream->GetBits(dwSharedIdBits));
|
| }
|
| hStream->ByteAlign();
|
| @@ -385,7 +385,7 @@ IPDF_DataAvail::DocAvailStatus CPDF_HintTables::CheckPage(
|
|
|
| uint32_t dwIndex = 0;
|
| uint32_t dwObjNum = 0;
|
| - for (int j = 0; j < m_dwNSharedObjsArray[index]; ++j) {
|
| + for (uint32_t j = 0; j < m_dwNSharedObjsArray[index]; ++j) {
|
| dwIndex = m_dwIdentifierArray[offset + j];
|
| if (dwIndex >= m_dwSharedObjNumArray.GetSize())
|
| return IPDF_DataAvail::DataNotAvailable;
|
|
|