mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
Userland: Fix 64-bit portability issues
This commit is contained in:
parent
fdbe66a7b4
commit
b613817bca
15 changed files with 59 additions and 30 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <LibCore/FileStream.h>
|
||||
#include <LibCore/MimeData.h>
|
||||
#include <LibHTTP/HttpRequest.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
|
@ -220,7 +221,7 @@ void Client::handle_directory_listing(const String& requested_path, const String
|
|||
builder.append(escape_html_entities(name));
|
||||
builder.append("</a></td><td> </td>");
|
||||
|
||||
builder.appendf("<td>%10lld</td><td> </td>", st.st_size);
|
||||
builder.appendf("<td>%10" PRIi64 "</td><td> </td>", st.st_size);
|
||||
builder.append("<td>");
|
||||
builder.append(Core::DateTime::from_timestamp(st.st_mtime).to_string());
|
||||
builder.append("</td>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue