diff --git a/include/fmt/format.h b/include/fmt/format.h index 1f1f3c4c..b6a5ef90 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1798,8 +1798,7 @@ class specs_handler : public specs_setter { typedef typename Context::format_arg format_arg; FMT_CONSTEXPR format_arg get_arg(auto_id) { - return internal::get_arg( - context_, static_cast(parse_context_.next_arg_id())); + return internal::get_arg(context_, parse_context_.next_arg_id()); } FMT_CONSTEXPR format_arg get_arg(unsigned arg_id) {