summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2015-02-17 16:28:55 +0100
committerBram Moolenaar <bram@vim.org>2015-02-17 16:28:55 +0100
commit0dd4af1dde015e40a6c8905997356db5bce3e950 (patch)
tree2d18af63d6a0bbf7deabdba85390c8a8951e5fef
parentece72ced1289b851cc62d3607ad834fdd0518157 (diff)
downloadvim-0dd4af1dde015e40a6c8905997356db5bce3e950.tar.gz
updated for version 7.4.638v7.4.638v7-4-638
Problem: Can't build with Lua 5.3 on Windows. Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
-rw-r--r--src/if_lua.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/if_lua.c b/src/if_lua.c
index d926f734..082d896f 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 207ac12b..a1f5b662 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 638,
+/**/
637,
/**/
636,