From 60d23eac19cb998cdd724c3040bbc79f4689d854 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 4 Dec 2011 20:53:43 +0100 Subject: [PATCH] printf now understands %l and %j. --- libmaxsi/format.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmaxsi/format.cpp b/libmaxsi/format.cpp index 26e5dfd4..ccc59cad 100644 --- a/libmaxsi/format.cpp +++ b/libmaxsi/format.cpp @@ -169,8 +169,12 @@ namespace Maxsi scanning = false; break; case 'z': + case 'l': type |= WORDWIDTH; break; + case 'j': + type |= BIT64; + break; case 'u': type |= UNSIGNED; scanning = false;