From 78012b4845319cbef27e656554c92b79e7cb8a3a Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Wed, 1 Oct 2025 01:57:01 -0700 Subject: [PATCH] resinator: fix an alignment problem --- 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 index 60d91eeb73..6f050b0a00 100644 --- 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,