aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 546bdb15b45..4c482c261dd 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1257,8 +1257,8 @@ Both LENGTH and INIT must be numbers.")
1257 } 1257 }
1258 else 1258 else
1259 { 1259 {
1260 unsigned char work[4], *str; 1260 unsigned char str[4];
1261 int len = CHAR_STRING (c, work, str); 1261 int len = CHAR_STRING (c, str);
1262 1262
1263 nbytes = len * XINT (length); 1263 nbytes = len * XINT (length);
1264 val = make_uninit_multibyte_string (XINT (length), nbytes); 1264 val = make_uninit_multibyte_string (XINT (length), nbytes);