From d3a7039e31e09f38fcdf5ef24fe2af2efcb4d89a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 12 Aug 2014 08:36:19 -0700 Subject: [PATCH] Implement 'll' specifier. --- format.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);