mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:27:35 +00:00
AK: Use size_t for ByteBuffer sizes
This matches what we already do for string types.
This commit is contained in:
parent
1dfc66c7cc
commit
88b9fcb976
14 changed files with 75 additions and 70 deletions
|
@ -142,7 +142,7 @@ void IRCClient::process_line(ByteBuffer&& line)
|
|||
} state
|
||||
= Start;
|
||||
|
||||
for (int i = 0; i < line.size(); ++i) {
|
||||
for (size_t i = 0; i < line.size(); ++i) {
|
||||
char ch = line[i];
|
||||
if (ch == '\r')
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue