Fix 32-bit issues on Ly's side

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2026-04-26 18:37:33 +02:00
parent 4f45d92ea8
commit 80d4b114f3
4 changed files with 7 additions and 7 deletions

View File

@@ -266,7 +266,7 @@ pub fn supportsUnicode() bool {
}
pub fn timeAsString(io: std.Io, buf: [:0]u8, format: [:0]const u8) []u8 {
const timer = std.Io.Timestamp.now(io, .real).toSeconds();
const timer: isize = @intCast(std.Io.Timestamp.now(io, .real).toSeconds());
const tm_info = time.localtime(&timer);
const len = time.strftime(buf, buf.len, format, tm_info);