1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00

add I64 support to spprintf() (snprintf() already has it)

This commit is contained in:
Antony Dovgal
2007-08-03 09:46:50 +00:00
parent 18676754cf
commit 996f1baaab

View File

@@ -337,6 +337,16 @@ static void xbuf_format_converter(int unicode, smart_str *xbuf, const char *fmt,
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