source: trunk/dports/math/gnuplot/files/patch-term-lua.trm.diff @ 140264

Last change on this file since 140264 was 140264, checked in by mojca@…, 5 years ago

gnuplot: fixes to make it compatible with lua 5.3 (#48826)

File size: 555 bytes
  • term/lua.trm

    old new LUA_GP_int_error(lua_State *L) { 
    251251      msg = luaL_checkstring(L, 1);
    252252      break;
    253253    case 2:
    254       t_num = luaL_checkint(L, 1);
     254      t_num = luaL_checkinteger(L, 1);
    255255      msg  = luaL_checkstring(L, 2);
    256256      break;
    257257    default:
    LUA_GP_int_warn(lua_State *L) { 
    285285      msg = luaL_checkstring(L, 1);
    286286      break;
    287287    case 2:
    288       t_num = luaL_checkint(L, 1);
     288      t_num = luaL_checkinteger(L, 1);
    289289      msg = luaL_checkstring(L, 2);
    290290      break;
    291291    default:
Note: See TracBrowser for help on using the repository browser.