- warningf(&arg->expression->base.source_position,
- "argument type '%T' does not match conversion specifier '%%%s%c' at position %u",
- arg_type, get_length_modifier_name(fmt_mod), (char)fmt, num_fmt);
+ source_position_t const *const apos = &arg->expression->base.source_position;
+ char const *const mod = get_length_modifier_name(fmt_mod);
+ warningf(WARN_FORMAT, apos, "argument type '%T' does not match conversion specifier '%%%s%c' at position %u", arg_type, mod, (char)fmt, num_fmt);