libc: Support %i in printf()

Which is the same as %d.
This commit is contained in:
apio 2022-11-03 16:53:19 +01:00
parent 2cfefc25cc
commit 3b86f87c76

View File

@ -185,6 +185,7 @@ static int internal_printf(const char* format, PutString put_string_callback, ss
preserve_format = true;
break;
}
case 'i':
case 'd': {
char result[32];
if (is_unsigned_long)