diff --git a/include/fmt/format.h b/include/fmt/format.h index fa8246f6..abf4a92f 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1064,7 +1064,7 @@ namespace detail_exported { template struct fixed_string { constexpr fixed_string(const Char (&str)[N]) { detail::copy_str(static_cast(str), - str + N, data); + static_cast(str + N), data); } Char data[N] = {}; };