| author | |
| committer | |
| log | 815022c87b34bae92d98475685425063ca36cbf7 |
| tree | 4bb41272adfb05fed5907fb4009ea39cbaae0f1e |
| parent | 64e84a452b043599e96e1e6af895b9959628f1fe |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/coff.zig+1-1| ... | ... | @@ -542,7 +542,7 @@ pub const SectionHeader = extern struct { |
| 542 | 542 | |
| 543 | 543 | pub fn setAlignment(self: *SectionHeader, new_alignment: u16) void { |
| 544 | 544 | assert(new_alignment > 0 and new_alignment <= 8192); |
| 545 | self.flags.ALIGN = std.math.log2(new_alignment); | |
| 545 | self.flags.ALIGN = @intCast(std.math.log2(new_alignment)); | |
| 546 | 546 | } |
| 547 | 547 | |
| 548 | 548 | pub fn isCode(self: SectionHeader) bool { |