aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 620cc979..f707208d 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.171 2001/02/22 18:59:59 roberto Exp roberto $ 2** $Id: lvm.c,v 1.172 2001/02/23 17:17:25 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -281,7 +281,7 @@ void luaV_strconc (lua_State *L, int total, StkId top) {
281 n++; 281 n++;
282 } 282 }
283 if (tl > MAX_SIZET) luaD_error(L, l_s("string size overflow")); 283 if (tl > MAX_SIZET) luaD_error(L, l_s("string size overflow"));
284 buffer = luaO_openspace(L, tl); 284 buffer = luaO_openspace(L, tl, l_char);
285 tl = 0; 285 tl = 0;
286 for (i=n; i>0; i--) { /* concat all strings */ 286 for (i=n; i>0; i--) { /* concat all strings */
287 size_t l = tsvalue(top-i)->len; 287 size_t l = tsvalue(top-i)->len;