printf: add support for %I32

https://bugzilla.gnome.org/show_bug.cgi?id=744281
This commit is contained in:
Matej Knopp 2015-02-10 17:40:48 +01:00 committed by Tim-Philipp Müller
parent 2d92f5e6d8
commit b7f958abad

View 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)) {