1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 10:51:48 +02:00

(tostring, printv): Use INT_BUFSIZE_BOUND in place of INT_STRLEN_BOUND + 1.

This commit is contained in:
Jim Meyering
2005-03-10 08:02:24 +00:00
parent 075a99ffcf
commit f83e17f928

View File

@@ -249,7 +249,7 @@ static void
printv (VALUE *v)
{
char *p;
char buf[INT_STRLEN_BOUND (intmax_t) + 1];
char buf[INT_BUFSIZE_BOUND (intmax_t)];
switch (v->type)
{
@@ -302,7 +302,7 @@ null (VALUE *v)
static void
tostring (VALUE *v)
{
char buf[INT_STRLEN_BOUND (intmax_t) + 1];
char buf[INT_BUFSIZE_BOUND (intmax_t)];
switch (v->type)
{