diff --git a/lang/cem/libcc.ansi/core/printf/doprnt.c b/lang/cem/libcc.ansi/core/printf/doprnt.c index 3eae73f0c..df2d557e6 100644 --- a/lang/cem/libcc.ansi/core/printf/doprnt.c +++ b/lang/cem/libcc.ansi/core/printf/doprnt.c @@ -162,7 +162,8 @@ int _doprnt(register const char* fmt, va_list ap) int i, c, width, precision, zfill, flags, between_fill; int nrchars = 0; const char* oldfmt; - char *s1, buf[1025]; + char *s1; + static char buf[16]; /* used to store rendered numbers */ while (c = *fmt++) {