commit 78012b4845319cbef27e656554c92b79e7cb8a3a (tree) parent ab6dbfe1a314e7004fea4625c191d57d4c67f049 Author: Ryan Liptak <squeek502@hotmail.com> Date: Wed, 1 Oct 2025 01:57:01 -0700 resinator: fix an alignment problem Diffstat:
| M | lib/compiler/resinator/compile.zig | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/compiler/resinator/compile.zig b/lib/compiler/resinator/compile.zig @@ -674,7 +674,7 @@ pub const Compiler = struct { } try file_reader.seekTo(entry.data_offset_from_start_of_file); - var header_bytes = (file_reader.interface.takeArray(16) catch { + var header_bytes: [16]u8 align(@alignOf(ico.BitmapHeader)) = (file_reader.interface.takeArray(16) catch { return self.iconReadError( error.UnexpectedEOF, filename_utf8,