lua_Reference is int, so say so.

This commit is contained in:
Roberto Ierusalimschy
1996-04-25 11:10:00 -03:00
parent 25116a3065
commit bced00ab9e
5 changed files with 18 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
** Mathematics library to LUA
*/
char *rcs_mathlib="$Id: mathlib.c,v 1.14 1996/02/09 17:21:27 roberto Exp roberto $";
char *rcs_mathlib="$Id: mathlib.c,v 1.15 1996/04/22 18:00:37 roberto Exp roberto $";
#include <stdlib.h>
#include <math.h>
@@ -104,7 +104,7 @@ static void math_sqrt (void)
lua_pushnumber (sqrt(d));
}
static lua_Reference old_pow;
static int old_pow;
static void math_pow (void)
{