Skip to content

Commit 2a130bd

Browse files
committed
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)
1 parent a29f2c9 commit 2a130bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/if_lua.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ luaV_list_insert (lua_State *L)
774774
{
775775
luaV_List *lis = luaV_checkudata(L, 1, LUAVIM_LIST);
776776
list_T *l = (list_T *) luaV_checkcache(L, (void *) *lis);
777-
long pos = luaL_optlong(L, 3, 0);
777+
long pos = (long) luaL_optinteger(L, 3, 0);
778778
listitem_T *li = NULL;
779779
typval_T v;
780780
if (l->lv_lock)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
638,
744746
/**/
745747
637,
746748
/**/

0 commit comments

Comments
 (0)