printf: add support for %I32
authorMatej Knopp <matej.knopp@gmail.com>
Tue, 10 Feb 2015 16:40:48 +0000 (17:40 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 12 Mar 2015 13:29:00 +0000 (13:29 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=744281

gst/printf/printf-parse.c

index 5d60448..d045ae8 100644 (file)
@@ -256,6 +256,10 @@ printf_parse (const char *format, char_directives * d, arguments * a)
               cp += 3;
             }
 #endif
+            else if (cp[0] == 'I' && cp[1] == '3' && cp[2] == '2') {
+              //flags = 32;
+              cp += 3;
+            }
 #ifdef HAVE_INTMAX_T
             else if (*cp == 'j') {
               if (sizeof (intmax_t) > sizeof (long)) {