diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-08 09:19:10 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-08 09:19:10 -0200 |
| commit | 6548bf7462a714128d37676e0288683658716a1e (patch) | |
| tree | 8540ec7da9ae1ccd91647c7c6702a0036a7fbab3 /lcode.c | |
| parent | 7178a5e34aa56c09a01a6664bb7a61c6771700d4 (diff) | |
| download | lua-6548bf7462a714128d37676e0288683658716a1e.tar.gz lua-6548bf7462a714128d37676e0288683658716a1e.tar.bz2 lua-6548bf7462a714128d37676e0288683658716a1e.zip | |
warnings from Visual C
Diffstat (limited to 'lcode.c')
| -rw-r--r-- | lcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lcode.c,v 1.59 2001/01/29 15:26:40 roberto Exp roberto $ | 2 | ** $Id: lcode.c,v 1.60 2001/02/07 18:13:49 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 | */ |
| @@ -100,7 +100,7 @@ void luaK_deltastack (FuncState *fs, int delta) { | |||
| 100 | if (fs->stacklevel > fs->f->maxstacksize) { | 100 | if (fs->stacklevel > fs->f->maxstacksize) { |
| 101 | if (fs->stacklevel > MAXSTACK) | 101 | if (fs->stacklevel > MAXSTACK) |
| 102 | luaK_error(fs->ls, "function or expression too complex"); | 102 | luaK_error(fs->ls, "function or expression too complex"); |
| 103 | fs->f->maxstacksize = fs->stacklevel; | 103 | fs->f->maxstacksize = (short)fs->stacklevel; |
| 104 | } | 104 | } |
| 105 | } | 105 | } |
| 106 | 106 | ||
