1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-07 00:22:18 +00:00

buffer declaration change

SCCS-file: strftime.c
SCCS-SID: 7.9
This commit is contained in:
Arthur David Olson
1993-05-29 20:22:51 -04:00
committed by Paul Eggert
parent 1ccf72f428
commit e9e03df0f3

View File

@ -337,7 +337,7 @@ _conv(n, format, pt, ptlim)
char *pt;
const char *ptlim;
{
char buf[21]; /* Room for - 2**63 ("-9223372036854775808") + null. */
char buf[INT_STRLEN_MAXIMUM + 1];
(void) sprintf(buf, format, n);
return _add(buf, pt, ptlim);