From a92939b7660bf01563dd55f1584bea3cae14b32b Mon Sep 17 00:00:00 2001 From: Conrad Pankoff Date: Mon, 2 Sep 2019 15:31:19 +1000 Subject: [PATCH] AK: Support %i as an alias for %d in printf --- AK/PrintfImplementation.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index ff76889afdc..43e4aa7d63c 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -290,6 +290,7 @@ template } break; case 'd': + case 'i': ret += print_signed_number(putch, bufptr, va_arg(ap, int), left_pad, zeroPad, fieldWidth); break;