aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index e1f9c015..037809a2 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.140 2017/11/07 13:25:26 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.141 2017/11/07 17:20:42 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -670,7 +670,7 @@ l_noret luaG_opinterror (lua_State *L, const TValue *p1,
670*/ 670*/
671l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2) { 671l_noret luaG_tointerror (lua_State *L, const TValue *p1, const TValue *p2) {
672 lua_Integer temp; 672 lua_Integer temp;
673 if (!tointeger(p1, &temp)) 673 if (!tointegerns(p1, &temp))
674 p2 = p1; 674 p2 = p1;
675 luaG_runerror(L, "number%s has no integer representation", varinfo(L, p2)); 675 luaG_runerror(L, "number%s has no integer representation", varinfo(L, p2));
676} 676}