From 552c43aba9d2f4fcc5309d49e586ddc90c90348c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 13 May 2023 08:10:00 -0700 Subject: [PATCH] Improve long formatters --- include/fmt/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 4ca9c3f8..46e73e73 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -2704,8 +2704,8 @@ FMT_FORMAT_AS(signed char, int); FMT_FORMAT_AS(unsigned char, unsigned); FMT_FORMAT_AS(short, int); FMT_FORMAT_AS(unsigned short, unsigned); -FMT_FORMAT_AS(long, long long); -FMT_FORMAT_AS(unsigned long, unsigned long long); +FMT_FORMAT_AS(long, detail::long_type); +FMT_FORMAT_AS(unsigned long, detail::ulong_type); FMT_FORMAT_AS(std::basic_string, basic_string_view); FMT_FORMAT_AS(std::nullptr_t, const void*); FMT_FORMAT_AS(detail::std_string_view, basic_string_view);