From 8e4ac679ffce4a2d59b0a404473275411854f598 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Aug 2002 14:23:12 -0300 Subject: use a linear count for count hook --- lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua.c') diff --git a/lua.c b/lua.c index d662e485..643e8e79 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.100 2002/08/07 20:54:17 roberto Exp roberto $ +** $Id: lua.c,v 1.101 2002/08/08 20:08:41 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -45,7 +45,7 @@ static const char *progname; static lua_Hook old_hook = NULL; -static int old_mask = 0; +static unsigned long old_mask = 0; static void lstop (lua_State *l, lua_Debug *ar) { -- cgit v1.2.3-55-g6feb