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 0279dbe7..68e6a080 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.255 2002/09/19 13:03:53 roberto Exp roberto $ 2** $Id: lvm.c,v 1.256 2002/09/19 20:12:47 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*/
@@ -303,7 +303,7 @@ void luaV_concat (lua_State *L, int total, int last) {
303 n++; 303 n++;
304 } 304 }
305 if (tl > MAX_SIZET) luaG_runerror(L, "string size overflow"); 305 if (tl > MAX_SIZET) luaG_runerror(L, "string size overflow");
306 buffer = luaO_openspace(L, tl); 306 buffer = luaZ_openspace(L, &G(L)->buff, tl);
307 tl = 0; 307 tl = 0;
308 for (i=n; i>0; i--) { /* concat all strings */ 308 for (i=n; i>0; i--) { /* concat all strings */
309 size_t l = tsvalue(top-i)->tsv.len; 309 size_t l = tsvalue(top-i)->tsv.len;