Add support for "%i" (it's the same as "%d", according to the ANSI C

standard).

svn path=/trunk/; revision=189
This commit is contained in:
Guy Harris 1999-02-15 06:36:19 +00:00
parent bba66b6f0f
commit 58778fd8ad
1 changed files with 1 additions and 0 deletions

View File

@ -563,6 +563,7 @@ va_list args;
state = 0;
break;
case 'd': /* decimal */
case 'i': /* "integer" (signed decimal) */
STAR_ARGS(&data);
if (data.a_long == FOUND)
d = va_arg(args, long);