diff options
author | Marcus Boerger <helly@php.net> | 2004-04-15 23:08:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2004-04-15 23:08:22 +0000 |
commit | 43e44e4e9fffacdd9214d1db5154b4c384a1a70a (patch) | |
tree | 0af6bf8b1312b4209e66fda5d2dfb2249276ba8b /main/snprintf.c | |
parent | c007130382bc848d09be17ea28e9d090c1e64276 (diff) | |
download | php-git-43e44e4e9fffacdd9214d1db5154b4c384a1a70a.tar.gz |
Bugfix #28012, now for snprintf
Diffstat (limited to 'main/snprintf.c')
-rw-r--r-- | main/snprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/snprintf.c b/main/snprintf.c index 94bebb8dd2..fa0e7f1e88 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -1031,7 +1031,7 @@ static int format_converter(register buffy * odp, const char *fmt, ui_num = (u_wide_int)((size_t) va_arg(ap, char *)); s = ap_php_conv_p2(ui_num, 4, 'x', &num_buf[NUM_BUF_SIZE], &s_len); - if (i_num != 0) { + if (ui_num != 0) { *--s = 'x'; *--s = '0'; s_len += 2; |