mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
add support for %I64(u|d) to sprintf() utilities
This commit is contained in:
parent
0e81133d48
commit
c94da398b9
@ -706,6 +706,16 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) /
|
||||
fmt++;
|
||||
modifier = LM_LONG_DOUBLE;
|
||||
break;
|
||||
case 'I':
|
||||
fmt++;
|
||||
#if SIZEOF_LONG_LONG
|
||||
if (*fmt == '6' && *(fmt+1) == '4') {
|
||||
fmt += 2;
|
||||
modifier = LM_LONG_LONG;
|
||||
} else
|
||||
#endif
|
||||
modifier = LM_LONG;
|
||||
break;
|
||||
case 'l':
|
||||
fmt++;
|
||||
#if SIZEOF_LONG_LONG
|
||||
|
Loading…
Reference in New Issue
Block a user