| author | |
| committer | |
| log | cbdc91eb1a75e7bfeb1df1170dea219a481b6bfd |
| tree | 6fd18926403c620cd3481a131042641b5bf61e39 |
| parent | 841235b3fd6dfb34e8a036afaf5b25fa9adf92d7 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/arch/arm/abi.zig+1-1| ... | ... | @@ -11,7 +11,7 @@ pub const Class = union(enum) { |
| 11 | 11 | i64_array: u8, |
| 12 | 12 | |
| 13 | 13 | fn arrSize(total_size: u64, arr_size: u64) Class { |
| 14 | const count = @intCast(u8, std.mem.alignForward(total_size, arr_size) / arr_size); | |
| 14 | const count = @intCast(u8, std.mem.alignForwardGeneric(u64, total_size, arr_size) / arr_size); | |
| 15 | 15 | if (arr_size == 32) { |
| 16 | 16 | return .{ .i32_array = count }; |
| 17 | 17 | } else { |