mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +00: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: a7e72f78cd
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue