macho: add missing align cast in LoadCommandIterator
This commit is contained in:
parent
1e710396d4
commit
421d3e8d28
|
@ -1901,7 +1901,7 @@ pub const LoadCommandIterator = struct {
|
|||
.data = it.buffer[0..hdr.cmdsize],
|
||||
};
|
||||
|
||||
it.buffer = it.buffer[hdr.cmdsize..];
|
||||
it.buffer = @alignCast(@alignOf(u64), it.buffer[hdr.cmdsize..]);
|
||||
it.index += 1;
|
||||
|
||||
return cmd;
|
||||
|
|
Loading…
Reference in New Issue
Block a user