mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 12:49:05 +00:00
Start fixing up AK to work inside the kernel.
This commit is contained in:
parent
1203c327c7
commit
5d465582a3
Notes:
sideshowbarker
2024-07-19 18:47:27 +09:00
Author: https://github.com/awesomekling
Commit: 5d465582a3
10 changed files with 68 additions and 47 deletions
|
@ -136,7 +136,7 @@ int main(int, char**)
|
|||
}
|
||||
|
||||
auto charbuf = Buffer<char>::createUninitialized(1024);
|
||||
printf("charbuf.size() = %u\n", charbuf->size());
|
||||
printf("charbuf.size() = %zu\n", charbuf->size());
|
||||
|
||||
{
|
||||
Vector<String> problem;
|
||||
|
@ -146,7 +146,7 @@ int main(int, char**)
|
|||
|
||||
{
|
||||
auto printInts = [] (const Vector<int>& v) {
|
||||
printf("Vector {\n size: %u\n capacity: %u\n elements: ", v.size(), v.capacity());
|
||||
printf("Vector {\n size: %zu\n capacity: %zu\n elements: ", v.size(), v.capacity());
|
||||
for (auto i : v)
|
||||
printf("%d ", i);
|
||||
printf("\n}\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue