From b0ef99d27a5096e1f60ca1ebc38ea8f74e3d8fa2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 17 Feb 2015 16:28:55 +0100 Subject: [PATCH] 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) --- src/if_lua.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/if_lua.c b/src/if_lua.c index d926f73465..082d896f92 100644 --- a/src/if_lua.c +++ b/src/if_lua.c @@ -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) diff --git a/src/version.c b/src/version.c index b856e781c6..0842f6eefb 100644 --- a/src/version.c +++ b/src/version.c @@ -756,6 +756,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 638, /**/ 637, /**/