mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 05:35:52 +03:00
AK: Make PrintfImplementation treat %lld as 64-bit
This commit is contained in:
parent
28a5e33134
commit
a7e72f78cd
Notes:
sideshowbarker
2024-07-19 09:32:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a7e72f78cd8
@ -331,7 +331,10 @@ template<typename PutChFunc>
|
||||
|
||||
case 'd':
|
||||
case 'i':
|
||||
ret += print_signed_number(putch, bufptr, va_arg(ap, int), left_pad, zeroPad, fieldWidth, always_sign);
|
||||
if (long_qualifiers >= 2)
|
||||
ret += print_i64(putch, bufptr, va_arg(ap, i64), left_pad, zeroPad, fieldWidth);
|
||||
else
|
||||
ret += print_signed_number(putch, bufptr, va_arg(ap, int), left_pad, zeroPad, fieldWidth, always_sign);
|
||||
break;
|
||||
|
||||
case 'u':
|
||||
|
Loading…
Reference in New Issue
Block a user