Fix -Wsign-compare warning

PiperOrigin-RevId: 547529709
This commit is contained in:
Richard O'Grady 2023-07-12 10:12:01 -07:00
parent c9f9edf6d7
commit 27f34a580b
1 changed files with 1 additions and 1 deletions

View File

@ -1289,7 +1289,7 @@ std::pair<const uint8_t*, ptrdiff_t> DecompressBranchless(
DeferMemCopy(&deferred_src, &deferred_length, from, len);
}
} while (ip < ip_limit_min_slop &&
(op + deferred_length) < op_limit_min_slop);
static_cast<ptrdiff_t>(op + deferred_length) < op_limit_min_slop);
exit:
ip--;
assert(ip <= ip_limit);