diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.76 2013/05/27 12:43:37 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.77 2013/05/29 14:05:03 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -70,7 +70,7 @@ | |||
70 | /* checks whether a float has a value representable as a lua_Integer | 70 | /* checks whether a float has a value representable as a lua_Integer |
71 | (and does the conversion if so) */ | 71 | (and does the conversion if so) */ |
72 | #define numisinteger(x,i) \ | 72 | #define numisinteger(x,i) \ |
73 | (((x) == l_mathop(floor)(x)) && luaV_numtointeger(x, i)) | 73 | (((x) == l_floor(x)) && luaV_numtointeger(x, i)) |
74 | 74 | ||
75 | 75 | ||
76 | #define dummynode (&dummynode_) | 76 | #define dummynode (&dummynode_) |