AK: Use size_t for ByteBuffer sizes

This matches what we already do for string types.
This commit is contained in:
Andreas Kling 2020-02-20 12:54:15 +01:00
commit 88b9fcb976
Notes: sideshowbarker 2024-07-19 09:12:19 +09:00
14 changed files with 75 additions and 70 deletions

View file

@ -121,7 +121,7 @@ void RemoteProcess::update()
return;
}
i32 length;
u32 length;
int nread = m_socket->read((u8*)&length, sizeof(length));
ASSERT(nread == sizeof(length));