about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-05-01 09:46:09 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-05-01 09:46:09 +0000
commit0b56c15853ea8f0002da6e982bb64b4c9e768546 (patch)
treee79566a5322f9d0e3316bcb62bcfd74a00d77649 /Src
parent2e935f0186169655f422c103d677ad3d878b9eab (diff)
downloadzsh-0b56c15853ea8f0002da6e982bb64b4c9e768546.tar.gz
zsh-0b56c15853ea8f0002da6e982bb64b4c9e768546.tar.xz
zsh-0b56c15853ea8f0002da6e982bb64b4c9e768546.zip
Use BDIGBUFSIZE in two other places
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/params.c b/Src/params.c
index d655c3411..acbe448a2 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -1393,7 +1393,7 @@ mod_export char *
 getstrvalue(Value v)
 {
     char *s, **ss;
-    char buf[(sizeof(zlong) * 8) + 4];
+    char buf[BDIGBUFSIZE];
 
     if (!v)
 	return hcalloc(1);
@@ -1535,7 +1535,7 @@ getnumvalue(Value v)
 void
 export_param(Param pm)
 {
-    char buf[(sizeof(zlong) * 8) + 4], *val;
+    char buf[BDIGBUFSIZE], *val;
 
     if (PM_TYPE(pm->flags) & (PM_ARRAY|PM_HASHED)) {
 #if 0	/* Requires changes elsewhere in params.c and builtin.c */