aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index ee4c52e53d3..df0ea1e5875 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1628,7 +1628,7 @@ Both LENGTH and INIT must be numbers.")
1628 } 1628 }
1629 else 1629 else
1630 { 1630 {
1631 unsigned char str[4]; 1631 unsigned char str[MAX_MULTIBYTE_LENGTH];
1632 int len = CHAR_STRING (c, str); 1632 int len = CHAR_STRING (c, str);
1633 1633
1634 nbytes = len * XINT (length); 1634 nbytes = len * XINT (length);