Browse Source

MFH: add support for %I64(u|d) to sprintf() utilities

experimental/5.2-WITH_DRCP
Antony Dovgal 20 years ago
parent
commit
73aa351741
  1. 10
      main/snprintf.c

10
main/snprintf.c

@ -708,6 +708,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…
Cancel
Save