Skip to content

Commit

Permalink
Use datatype of underlying data (#3647)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschasc authored Sep 19, 2023
1 parent 492a99c commit 8ef4db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -3033,7 +3033,7 @@ class bigint {
bigits_.resize(to_unsigned(num_bigits + exp_difference));
for (int i = num_bigits - 1, j = i + exp_difference; i >= 0; --i, --j)
bigits_[j] = bigits_[i];
std::uninitialized_fill_n(bigits_.data(), exp_difference, 0);
std::uninitialized_fill_n(bigits_.data(), exp_difference, 0u);
exp_ -= exp_difference;
}

Expand Down

0 comments on commit 8ef4db4

Please sign in to comment.