diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-02-15 06:36:19 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-02-15 06:36:19 +0000 |
commit | c764cea2979f5a69ea2ab942c5b0289930fe326c (patch) | |
tree | 7dcdb52a61ba1cc62a63cc5258f2f676b71977f6 /snprintf.c | |
parent | 7b04655f215824e06776aac9d4a9c46ccb26ef73 (diff) |
Add support for "%i" (it's the same as "%d", according to the ANSI C
standard).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@189 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'snprintf.c')
-rw-r--r-- | snprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/snprintf.c b/snprintf.c index 8aee168768..49656e4cbe 100644 --- a/snprintf.c +++ b/snprintf.c @@ -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); |