From 17149b7d43480726adc7ec5f885762b487565a7e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Apr 2003 10:31:06 -0300 Subject: avoid warnings (`Instruction' may not fit into an `int') --- ldebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index d23d9028..468c2358 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 1.149 2003/03/18 12:50:04 roberto Exp roberto $ +** $Id: ldebug.c,v 1.150 2003/03/19 21:24:04 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -436,7 +436,7 @@ static Instruction luaG_symbexec (const Proto *pt, int lastpc, int reg) { int luaG_checkcode (const Proto *pt) { - return luaG_symbexec(pt, pt->sizecode, NO_REG); + return (luaG_symbexec(pt, pt->sizecode, NO_REG) != 0); } -- cgit v1.2.3-55-g6feb