mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
AK: Remove unnecessary casts to size_t, after Vector changes
Now that Vector uses size_t, we can remove a whole bunch of redundant casts to size_t.
This commit is contained in:
parent
fee20bd8de
commit
22d0a6d92f
15 changed files with 60 additions and 57 deletions
|
@ -68,7 +68,7 @@ int main(int argc, char* argv[])
|
|||
auto buffer = file->read_all();
|
||||
dbg() << "Read size " << buffer.size();
|
||||
|
||||
String input { (const char*)buffer.data(), (size_t)buffer.size() };
|
||||
auto input = String::copy(buffer);
|
||||
MDDocument document;
|
||||
success = document.parse(input);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue