mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
resinator: fix an alignment problem
This commit is contained in:
parent
ab6dbfe1a3
commit
78012b4845
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue