From 8ef4db4b96ffacb44003317f052821ba70cef539 Mon Sep 17 00:00:00 2001 From: Sascha Scandella <84325903+saschasc@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:31:36 +0200 Subject: [PATCH] Use datatype of underlying data (#3647) --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index dd903b54..66a9e226 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -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; }