Fix big clock UB in ReleaseSafe

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2025-05-31 10:32:03 +02:00
parent 063b3145ed
commit 36a27f6167
2 changed files with 16 additions and 14 deletions

View File

@@ -7,6 +7,7 @@ pub const SIZE = WIDTH * HEIGHT;
pub const X: u32 = if (builtin.os.tag == .linux or builtin.os.tag.isBSD()) 0x2593 else '#';
pub const O: u32 = 0;
// zig fmt: off
pub const LocaleChars = struct {
ZERO: [SIZE]u21,
ONE: [SIZE]u21,
@@ -20,4 +21,5 @@ pub const LocaleChars = struct {
NINE: [SIZE]u21,
S: [SIZE]u21,
E: [SIZE]u21,
};
};
// zig fmt: on