Skip to content

Commit

Permalink
Fix bigint resize
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Jul 22, 2023
1 parent e368bc5 commit a414677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jsoncons/bigint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ class basic_bigint : protected detail::basic_bigint_base<Allocator>
common_stor_.length_ = n;

uint64_t* a = data();
for (size_type i = len_old; i < common_stor_.length_; ++i)
for (size_type i = len_old; i < n; ++i)
{
a[i] = 0;
}
Expand Down

0 comments on commit a414677

Please sign in to comment.