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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user