Mercurial > hg > th-libs
changeset 539:7615dbdc4d34
The buffer used for th_vprintf_put_int() was about twice as large as required. Make it smaller.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 30 Dec 2019 15:16:04 +0200 |
parents | 5c9e65b74f8d |
children | a3e3b26accd5 |
files | th_printf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/th_printf.c Mon Dec 30 15:04:24 2019 +0200 +++ b/th_printf.c Mon Dec 30 15:16:04 2019 +0200 @@ -236,7 +236,7 @@ va_list ap, const int f_radix, int f_flags, int f_width, int f_prec, const BOOL f_unsig, char *(f_alt)(const char *buf, const size_t blen, const int vret, const int flags)) { - char buf[64]; + char buf[32]; int f_len = 0, vret; BOOL f_neg = FALSE;