aboutsummaryrefslogtreecommitdiff
path: root/mathlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-04-25 11:10:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-04-25 11:10:00 -0300
commitbced00ab9efcdc68982b5e3787f277b86ea3cde8 (patch)
tree85901ada4296ac533b2169b922885f7fc9d9e415 /mathlib.c
parent25116a306598b8f30606552a4570f752ac141397 (diff)
downloadlua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.tar.gz
lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.tar.bz2
lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.zip
lua_Reference is int, so say so.
Diffstat (limited to 'mathlib.c')
-rw-r--r--mathlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mathlib.c b/mathlib.c
index efc887b8..5e02908e 100644
--- a/mathlib.c
+++ b/mathlib.c
@@ -3,7 +3,7 @@
3** Mathematics library to LUA 3** Mathematics library to LUA
4*/ 4*/
5 5
6char *rcs_mathlib="$Id: mathlib.c,v 1.14 1996/02/09 17:21:27 roberto Exp roberto $"; 6char *rcs_mathlib="$Id: mathlib.c,v 1.15 1996/04/22 18:00:37 roberto Exp roberto $";
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9#include <math.h> 9#include <math.h>
@@ -104,7 +104,7 @@ static void math_sqrt (void)
104 lua_pushnumber (sqrt(d)); 104 lua_pushnumber (sqrt(d));
105} 105}
106 106
107static lua_Reference old_pow; 107static int old_pow;
108 108
109static void math_pow (void) 109static void math_pow (void)
110{ 110{