aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lcode.c b/lcode.c
index c50596fb..ffd77f2e 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ 2** $Id: lcode.c,v 1.89 2002/02/05 22:39:12 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -176,7 +176,7 @@ void luaK_reserveregs (FuncState *fs, int n) {
176 if (fs->freereg > fs->f->maxstacksize) { 176 if (fs->freereg > fs->f->maxstacksize) {
177 if (fs->freereg >= MAXSTACK) 177 if (fs->freereg >= MAXSTACK)
178 luaK_error(fs->ls, "function or expression too complex"); 178 luaK_error(fs->ls, "function or expression too complex");
179 fs->f->maxstacksize = cast(short, fs->freereg); 179 fs->f->maxstacksize = cast(lu_byte, fs->freereg);
180 } 180 }
181} 181}
182 182