mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:57:34 +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
|
@ -53,7 +53,7 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
const auto& b = f->read_all();
|
||||
for (auto i = 0; i < b.size(); ++i)
|
||||
for (size_t i = 0; i < b.size(); ++i)
|
||||
putchar(b[i]);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto data = socket->read_all();
|
||||
|
||||
for (int i = 0; i < data.size(); ++i)
|
||||
for (size_t i = 0; i < data.size(); ++i)
|
||||
putchar(data[i]);
|
||||
printf("\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue