updated for version 7.4.638

Problem:    Can't build with Lua 5.3 on Windows.
Solution:   use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
This commit is contained in:
Bram Moolenaar
2015-02-17 16:28:55 +01:00
parent 1e997827f1
commit 46538ee46c
2 changed files with 3 additions and 1 deletions

View File

@ -774,7 +774,7 @@ luaV_list_insert (lua_State *L)
{
luaV_List *lis = luaV_checkudata(L, 1, LUAVIM_LIST);
list_T *l = (list_T *) luaV_checkcache(L, (void *) *lis);
long pos = luaL_optlong(L, 3, 0);
long pos = (long) luaL_optinteger(L, 3, 0);
listitem_T *li = NULL;
typval_T v;
if (l->lv_lock)

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
638,
/**/
637,
/**/