Browse Source

[Pal] Add %i support to printf

Simon Gaiser 6 years ago
parent
commit
946a58f338
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Pal/lib/stdlib/printfmt.c

+ 1 - 0
Pal/lib/stdlib/printfmt.c

@@ -196,6 +196,7 @@ vfprintfmt(int (*_fputch)(void *, int, void *), void * f, void * putdat,
 
 
 		// (signed) decimal
 		// (signed) decimal
 		case 'd':
 		case 'd':
+		case 'i':
 			num = getint(ap, lflag);
 			num = getint(ap, lflag);
 #if !defined(__i386__)
 #if !defined(__i386__)
 			if ((long long) num < 0) {
 			if ((long long) num < 0) {