diff --git a/include/fmt/format.h b/include/fmt/format.h index e12c5c35..5d7a2e64 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2280,10 +2280,10 @@ class arg_formatter_base { detail::reserve(std::declval(), 0))>; template - FMT_CONSTEXPR void write_int(T value, const format_specs& spec) { + FMT_CONSTEXPR void write_int(T value, const format_specs& specs) { using uint_type = uint32_or_64_or_128_t; - int_writer w(out_, locale_, value, spec); - handle_int_type_spec(spec.type, w); + int_writer w(out_, locale_, value, specs); + handle_int_type_spec(specs.type, w); out_ = w.out; }