Skip to content

Commit

Permalink
Use datatype of underlying data
Browse files Browse the repository at this point in the history
  • Loading branch information
saschasc committed Sep 19, 2023
1 parent f6ca4ea commit 89ee30f
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 89ee30f

Please sign in to comment.