Index: core/fpdfapi/parser/cpdf_hint_tables.cpp |
diff --git a/core/fpdfapi/parser/cpdf_hint_tables.cpp b/core/fpdfapi/parser/cpdf_hint_tables.cpp |
index 5c0f2a7fbecf372aa07ed120e55387c7a95854ce..e000188e7d687c77759169b599c84dc46d3b9dec 100644 |
--- a/core/fpdfapi/parser/cpdf_hint_tables.cpp |
+++ b/core/fpdfapi/parser/cpdf_hint_tables.cpp |
@@ -257,7 +257,7 @@ bool CPDF_HintTables::ReadSharedObjHintTable(CFX_BitStream* hStream, |
bit_offset *= 8; |
if (!bit_offset.IsValid() || hStream->GetPos() > bit_offset.ValueOrDie()) |
return false; |
- hStream->SkipBits(bit_offset.ValueOrDie() - hStream->GetPos()); |
+ hStream->SkipBits((bit_offset - hStream->GetPos()).ValueOrDie()); |
const uint32_t kHeaderSize = 192; |
if (hStream->BitsRemaining() < kHeaderSize) |