Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions llvm/lib/CAS/OnDiskGraphDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,7 @@ Error OnDiskGraphDB::validate(bool Deep, HashingFuncT Hasher) const {
// Check offset is a postive value, and large enough to hold the
// header for the data record.
if (D.Offset.get() <= 0 ||
(uint64_t)D.Offset.get() + sizeof(DataRecordHandle::Header) >=
DataPool.size())
D.Offset.get() + sizeof(DataRecordHandle::Header) >= DataPool.size())
return formatError("datapool record out of bound");
break;
case TrieRecord::StorageKind::Standalone:
Expand Down
Loading