From 490940cd5342f51de0ebe1ea25a3f1db6e1ee905 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 4 Apr 2020 20:11:59 +0300 Subject: [PATCH] Minor update to fmt_helper --- include/spdlog/details/fmt_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)