Karsten Hopp e70ba9
To: vim_dev@googlegroups.com
Karsten Hopp e70ba9
Subject: Patch 7.4.638
Karsten Hopp e70ba9
Fcc: outbox
Karsten Hopp e70ba9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e70ba9
Mime-Version: 1.0
Karsten Hopp e70ba9
Content-Type: text/plain; charset=UTF-8
Karsten Hopp e70ba9
Content-Transfer-Encoding: 8bit
Karsten Hopp e70ba9
------------
Karsten Hopp e70ba9
Karsten Hopp e70ba9
Patch 7.4.638
Karsten Hopp e70ba9
Problem:    Can't build with Lua 5.3 on Windows.
Karsten Hopp e70ba9
Solution:   use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata)
Karsten Hopp e70ba9
Files:	    src/if_lua.c
Karsten Hopp e70ba9
Karsten Hopp e70ba9
Karsten Hopp e70ba9
*** ../vim-7.4.637/src/if_lua.c	2015-02-04 23:07:55.928517161 +0100
Karsten Hopp e70ba9
--- src/if_lua.c	2015-02-17 16:26:47.003111497 +0100
Karsten Hopp e70ba9
***************
Karsten Hopp e70ba9
*** 774,780 ****
Karsten Hopp e70ba9
  {
Karsten Hopp e70ba9
      luaV_List *lis = luaV_checkudata(L, 1, LUAVIM_LIST);
Karsten Hopp e70ba9
      list_T *l = (list_T *) luaV_checkcache(L, (void *) *lis);
Karsten Hopp e70ba9
!     long pos = luaL_optlong(L, 3, 0);
Karsten Hopp e70ba9
      listitem_T *li = NULL;
Karsten Hopp e70ba9
      typval_T v;
Karsten Hopp e70ba9
      if (l->lv_lock)
Karsten Hopp e70ba9
--- 774,780 ----
Karsten Hopp e70ba9
  {
Karsten Hopp e70ba9
      luaV_List *lis = luaV_checkudata(L, 1, LUAVIM_LIST);
Karsten Hopp e70ba9
      list_T *l = (list_T *) luaV_checkcache(L, (void *) *lis);
Karsten Hopp e70ba9
!     long pos = (long) luaL_optinteger(L, 3, 0);
Karsten Hopp e70ba9
      listitem_T *li = NULL;
Karsten Hopp e70ba9
      typval_T v;
Karsten Hopp e70ba9
      if (l->lv_lock)
Karsten Hopp e70ba9
*** ../vim-7.4.637/src/version.c	2015-02-17 16:04:50.816104407 +0100
Karsten Hopp e70ba9
--- src/version.c	2015-02-17 16:24:51.048605970 +0100
Karsten Hopp e70ba9
***************
Karsten Hopp e70ba9
*** 743,744 ****
Karsten Hopp e70ba9
--- 743,746 ----
Karsten Hopp e70ba9
  {   /* Add new patch number below this line */
Karsten Hopp e70ba9
+ /**/
Karsten Hopp e70ba9
+     638,
Karsten Hopp e70ba9
  /**/
Karsten Hopp e70ba9
Karsten Hopp e70ba9
-- 
Karsten Hopp e70ba9
"Marriage is the process of finding out what kind of man your wife
Karsten Hopp e70ba9
would have preferred"
Karsten Hopp e70ba9
Karsten Hopp e70ba9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e70ba9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e70ba9
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp e70ba9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///