Commit fbbccc9d5f

Jacob Young <jacobly0@users.noreply.github.com>
2023-10-18 22:51:45
Builder: fix incorrect type for 32-bit systems
1 parent f3d23d9
Changed files (1)
src
codegen
src/codegen/llvm/Builder.zig
@@ -10462,7 +10462,7 @@ fn bigIntConstAssumeCapacity(
                         const overflow = @subWithOverflow(borrow, llvm_limb);
                         llvm_limb = overflow[0];
                         borrow -%= overflow[1];
-                        assert(borrow == 0 or borrow == std.math.maxInt(u64));
+                        assert(borrow == 0 or borrow == std.math.maxInt(std.math.big.Limb));
                     }
                     result_limb.* = llvm_limb;
                 }