gnuplot/gnuplot-5.0.0-lua-5.3.1.dif

25 lines
666 B
Plaintext
Raw Normal View History

---
term/lua.trm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- term/lua.trm
+++ term/lua.trm 2015-07-28 06:48:03.890643983 +0000
@@ -251,7 +251,7 @@ LUA_GP_int_error(lua_State *L) {
msg = luaL_checkstring(L, 1);
break;
case 2:
- t_num = luaL_checkint(L, 1);
+ t_num = luaL_checkinteger(L, 1);
msg = luaL_checkstring(L, 2);
break;
default:
@@ -285,7 +285,7 @@ LUA_GP_int_warn(lua_State *L) {
msg = luaL_checkstring(L, 1);
break;
case 2:
- t_num = luaL_checkint(L, 1);
+ t_num = luaL_checkinteger(L, 1);
msg = luaL_checkstring(L, 2);
break;
default: