Skip to content

Commit 3a833f4

Browse files
committed
lib/std/math/big/int.zig: Mutable.mulWrapNoAlias: pass initialized rma.limbs slice
1 parent 094a4a0 commit 3a833f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/math/big/int.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ pub const Mutable = struct {
872872

873873
@memset(rma.limbs[0..req_limbs], 0);
874874

875-
llmulacc(.add, allocator, rma.limbs, a_limbs, b_limbs);
875+
llmulacc(.add, allocator, rma.limbs[0..req_limbs], a_limbs, b_limbs);
876876
rma.normalize(@min(req_limbs, a.limbs.len + b.limbs.len));
877877
rma.positive = (a.positive == b.positive);
878878
rma.truncate(rma.toConst(), signedness, bit_count);

0 commit comments

Comments
 (0)