mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(tostring, printv): Use INT_BUFSIZE_BOUND in place of INT_STRLEN_BOUND + 1.
This commit is contained in:
1 parent
075a99ffcf
commit
f83e17f928
1 file changed
+2
-2
+2
-2
@@ -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