Skip to content
forked from fmtlib/fmt

Commit

Permalink
Use datatype of underlying data (fmtlib#3647)
Browse files Browse the repository at this point in the history
  • Loading branch information
saschasc authored and ckerr committed Nov 7, 2023
1 parent f7c3866 commit 9fa0a86
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 9fa0a86

Please sign in to comment.