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

@@ -450,7 +450,7 @@ fn patchFile(allocator: std.mem.Allocator, io: std.Io, source_file: []const u8,
var buffer: [4096]u8 = undefined;
var reader = file.reader(io, &buffer);
var text = try reader.interface.readAlloc(allocator, stat.size);
var text = try reader.interface.readAlloc(allocator, @intCast(stat.size));
var iterator = patch_map.iterator();
while (iterator.next()) |kv| {