diff --git a/format.cc b/format.cc index 77a1ad7d..4190ad25 100644 --- a/format.cc +++ b/format.cc @@ -916,7 +916,10 @@ void fmt::internal::PrintfFormatter::format( ArgConverter(arg, *s).visit(arg); break; case 'l': - ArgConverter(arg, *s).visit(arg); + if (*s == 'l') + ArgConverter(arg, *++s).visit(arg); + else + ArgConverter(arg, *s).visit(arg); break; case 'j': ArgConverter(arg, *s).visit(arg);