diff --git a/include/spdlog/details/fmt_helper.h b/include/spdlog/details/fmt_helper.h index 1e17c4d3..91883478 100644 --- a/include/spdlog/details/fmt_helper.h +++ b/include/spdlog/details/fmt_helper.h @@ -34,7 +34,7 @@ template inline unsigned int count_digits(T n) { using count_type = typename std::conditional<(sizeof(T) > sizeof(uint32_t)), uint64_t, uint32_t>::type; - return static_cast(fmt::internal::count_digits(static_cast(n))); + return static_cast(fmt::internal::count_digits(static_cast(n))); } inline void pad2(int n, memory_buf_t &dest)