diff options
-rw-r--r-- | AK/PrintfImplementation.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h index 5c8e431d8d..907d03d77a 100644 --- a/AK/PrintfImplementation.h +++ b/AK/PrintfImplementation.h @@ -298,7 +298,10 @@ template<typename PutChFunc> break; case 'u': - ret += print_number(putch, bufptr, va_arg(ap, u32), left_pad, zeroPad, fieldWidth); + if (long_qualifiers >= 2) + ret += print_u64(putch, bufptr, va_arg(ap, u64), left_pad, zeroPad, fieldWidth); + else + ret += print_number(putch, bufptr, va_arg(ap, u32), left_pad, zeroPad, fieldWidth); break; case 'Q': |