# HG changeset patch # User Matti Hamalainen # Date 1577711764 -7200 # Node ID 7615dbdc4d34a15cb6e3ee079fad6aa3e6d5feef # Parent 5c9e65b74f8d27b6f7069ce21df3fe957db6f0f9 The buffer used for th_vprintf_put_int() was about twice as large as required. Make it smaller. diff -r 5c9e65b74f8d -r 7615dbdc4d34 th_printf.c --- 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;