| Index: core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| diff --git a/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp b/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| index b414827f95eb84c2e7e38c105e26c1ff52d2276e..89ad5eec33dbc5330e3eb9c02b71f0d6cc07c4bf 100644
|
| --- a/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| +++ b/core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp
|
| @@ -772,7 +772,8 @@ CPDF_Stream* CPDF_SyntaxParser::ReadStream(CPDF_Dictionary* pDict,
|
| GetNextWordInternal(nullptr);
|
|
|
| int numMarkers = ReadEOLMarkers(m_Pos);
|
| - if (m_WordSize == kEndObjStr.GetLength() && numMarkers != 0 &&
|
| + if (m_WordSize == static_cast<unsigned int>(kEndObjStr.GetLength()) &&
|
| + numMarkers != 0 &&
|
| FXSYS_memcmp(m_WordBuffer, kEndObjStr.GetPtr(), kEndObjStr.GetLength()) ==
|
| 0) {
|
| m_Pos = streamStartPos;
|
|
|