1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

Userland: Fix printf specifiers with off_t

In theory we should probably use the 'j' qualifier, but we don't
support it.
This commit is contained in:
Jean-Baptiste Boric 2021-03-13 22:03:26 +01:00 committed by Andreas Kling
parent 7a079f7780
commit ade6343fca
3 changed files with 3 additions and 3 deletions

View file

@ -240,7 +240,7 @@ void Client::handle_directory_listing(const String& requested_path, const String
builder.append(escape_html_entities(name));
builder.append("</a></td><td>&nbsp;</td>");
builder.appendf("<td>%10zd</td><td>&nbsp;</td>", st.st_size);
builder.appendf("<td>%10lld</td><td>&nbsp;</td>", st.st_size);
builder.append("<td>");
builder.append(Core::DateTime::from_timestamp(st.st_mtime).to_string());
builder.append("</td>");