mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:38:12 +00:00
LibC: Fix some incorrect printf usages
This commit is contained in:
parent
6b01d1cf14
commit
d780e2265d
10 changed files with 19 additions and 19 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue