From eaddd1e3cd4cc26554133f8b036a0bb035c22f65 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 19 Dec 2021 06:46:24 -0800 Subject: [PATCH] Fix handling of byte --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 5acd9923..9ad32e91 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1425,7 +1425,7 @@ template struct arg_mapper { return map(static_cast::type>(val)); } - FMT_CONSTEXPR FMT_INLINE auto map(detail::byte val) -> unsigned char { + FMT_CONSTEXPR FMT_INLINE auto map(detail::byte val) -> unsigned { return map(static_cast(val)); }