mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibC: Fix some incorrect printf usages
This commit is contained in:
committed by
Andreas Kling
parent
6b01d1cf14
commit
d780e2265d
@@ -34,7 +34,7 @@ String generate_only_additions(const String& text)
|
||||
{
|
||||
auto lines = text.split('\n', true); // Keep empty
|
||||
StringBuilder builder;
|
||||
builder.appendf("@@ -1,%u +1,%u @@\n", lines.size());
|
||||
builder.appendf("@@ -1,%zu +1,%zu @@\n", lines.size());
|
||||
for (const auto& line : lines) {
|
||||
builder.appendf("+%s\n", line.characters());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user