aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index 986e2708..3d41f4db 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 2.95 2014/09/04 18:15:29 roberto Exp roberto $ 2** $Id: ltable.c,v 2.96 2014/10/17 16:28:21 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*/
@@ -88,7 +88,7 @@ static const Node dummynode_ = {
88*/ 88*/
89static int numisinteger (lua_Number x, lua_Integer *p) { 89static int numisinteger (lua_Number x, lua_Integer *p) {
90 if ((x) == l_floor(x)) /* integral value? */ 90 if ((x) == l_floor(x)) /* integral value? */
91 return lua_numtointeger(x, p); /* try as an integer */ 91 return lua_numbertointeger(x, p); /* try as an integer */
92 else return 0; 92 else return 0;
93} 93}
94 94