1
Fork 0
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:
Sahan Fernando 2020-12-25 15:15:12 +11:00 committed by Andreas Kling
parent 6b01d1cf14
commit d780e2265d
10 changed files with 19 additions and 19 deletions

View file

@ -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());
}