From 95988676d8f5ba05c83eda84e2e7369ae854b855 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Jul 2001 14:19:07 -0300 Subject: small bug when creating AsBc instructions in 16-bit machines --- lcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index 9410eefa..252249b6 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 1.76 2001/06/15 20:36:57 roberto Exp roberto $ +** $Id: lcode.c,v 1.77 2001/07/17 14:30:44 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -794,7 +794,7 @@ int luaK_codeABC (FuncState *fs, OpCode o, int a, int b, int c) { } -int luaK_codeABc (FuncState *fs, OpCode o, int a, int bc) { +int luaK_codeABc (FuncState *fs, OpCode o, int a, unsigned int bc) { lua_assert(getOpMode(o) == iABc || getOpMode(o) == iAsBc); return luaK_code(fs, CREATE_ABc(o, a, bc)); } -- cgit v1.2.3-55-g6feb