mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
lua_Reference is int, so say so.
This commit is contained in:
parent
25116a3065
commit
bced00ab9e
5 changed files with 18 additions and 20 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue