summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatej Knopp <matej.knopp@gmail.com>2015-02-10 17:40:48 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-03-12 13:29:00 +0000
commitb7f958abad667c0bdca6f2341d2d8e1bb6f7c49d (patch)
tree9f2f3cf1e34f6862627a5874ecbe0820d7452b69
parent2d92f5e6d87b5ce92794137e2b389f6cedd7cdae (diff)
printf: add support for %I32
https://bugzilla.gnome.org/show_bug.cgi?id=744281
-rw-r--r--gst/printf/printf-parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/printf/printf-parse.c b/gst/printf/printf-parse.c
index 5d6044810..d045ae89f 100644
--- a/gst/printf/printf-parse.c
+++ b/gst/printf/printf-parse.c
@@ -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)) {