mirror of
https://github.com/fairyglade/ly.git
synced 2026-05-06 15:20:36 +00:00
Fix 32-bit issues on Ly's side
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user