libc: Support %i in printf()
Which is the same as %d.
This commit is contained in:
parent
2cfefc25cc
commit
3b86f87c76
@ -185,6 +185,7 @@ static int internal_printf(const char* format, PutString put_string_callback, ss
|
|||||||
preserve_format = true;
|
preserve_format = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 'i':
|
||||||
case 'd': {
|
case 'd': {
|
||||||
char result[32];
|
char result[32];
|
||||||
if (is_unsigned_long)
|
if (is_unsigned_long)
|
||||||
|
Loading…
Reference in New Issue
Block a user