mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
AK: Use size_t for ByteBuffer sizes
This matches what we already do for string types.
This commit is contained in:
@@ -40,7 +40,7 @@ bool CGzip::is_compressed(const ByteBuffer& data)
|
||||
// see: https://tools.ietf.org/html/rfc1952#page-5
|
||||
static Optional<ByteBuffer> get_gzip_payload(const ByteBuffer& data)
|
||||
{
|
||||
int current = 0;
|
||||
size_t current = 0;
|
||||
auto read_byte = [&]() {
|
||||
if (current >= data.size()) {
|
||||
ASSERT_NOT_REACHED();
|
||||
|
||||
Reference in New Issue
Block a user