diff options
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp index 8063d6fd9c..827d1cec28 100644 --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp @@ -105,7 +105,7 @@ TEST(fpdf_parser_parser, ReadHexString) { parser.RestorePos(-1); EXPECT_EQ("", parser.ReadHexString()); - parser.RestorePos(0xfffffffffff); + parser.RestorePos(std::numeric_limits<FX_FILESIZE>::max()); EXPECT_EQ("", parser.ReadHexString()); // Check string still parses when set to 0. |