Fix 32-bit issues on Ly's side

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

No files matched your search

+1 -1
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);