diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-04-25 11:10:00 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-04-25 11:10:00 -0300 |
commit | bced00ab9efcdc68982b5e3787f277b86ea3cde8 (patch) | |
tree | 85901ada4296ac533b2169b922885f7fc9d9e415 /mathlib.c | |
parent | 25116a306598b8f30606552a4570f752ac141397 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** Mathematics library to LUA | 3 | ** Mathematics library to LUA |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_mathlib="$Id: mathlib.c,v 1.14 1996/02/09 17:21:27 roberto Exp roberto $"; | 6 | char *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 | ||
107 | static lua_Reference old_pow; | 107 | static int old_pow; |
108 | 108 | ||
109 | static void math_pow (void) | 109 | static void math_pow (void) |
110 | { | 110 | { |