]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.4.638 v7.4.638
authorBram Moolenaar <Bram@vim.org>
Tue, 17 Feb 2015 15:28:55 +0000 (16:28 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 Feb 2015 15:28:55 +0000 (16:28 +0100)
Problem:    Can't build with Lua 5.3 on Windows.
Solution:   use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)

src/if_lua.c
src/version.c

index d926f73465f4046fa7542ab9d56965d4833cd056..082d896f92fe647167a1b70265c875e917867008 100644 (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)
index 207ac12b01057093d401e9c94fab39ced104f341..a1f5b66266dbbd6c883e4116884ed0d3a4209529 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    638,
 /**/
     637,
 /**/