diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.49 2000/10/27 11:39:52 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.50 2000/10/30 12:38:50 roberto Exp roberto $ |
3 | ** Debug Interface | 3 | ** Debug Interface |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -371,7 +371,7 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int stackpos) { | |||
371 | OpCode op = GET_OPCODE(i); | 371 | OpCode op = GET_OPCODE(i); |
372 | LUA_ASSERT(luaK_opproperties[op].push != VD, | 372 | LUA_ASSERT(luaK_opproperties[op].push != VD, |
373 | "invalid opcode for default"); | 373 | "invalid opcode for default"); |
374 | top -= luaK_opproperties[op].pop; | 374 | top -= (int)luaK_opproperties[op].pop; |
375 | LUA_ASSERT(top >= 0, "wrong stack"); | 375 | LUA_ASSERT(top >= 0, "wrong stack"); |
376 | top = pushpc(stack, pc, top, luaK_opproperties[op].push); | 376 | top = pushpc(stack, pc, top, luaK_opproperties[op].push); |
377 | } | 377 | } |