Patch 7.4.2022
Problem:    Warnings from 64 bit compiler.
Solution:   Add type casts. (Mike Williams)
Files:      src/eval.c


*** ../vim-7.4.2021/src/eval.c  2016-07-09 23:40:29.839039098 +0200
--- src/eval.c  2016-07-10 19:21:26.135390008 +0200
***************
*** 13108,13114 ****
  
      ExpandInit(&xpc);
      xpc.xp_pattern = get_tv_string(&argvars[0]);
!     xpc.xp_pattern_len = STRLEN(xpc.xp_pattern);
      xpc.xp_context = cmdcomplete_str_to_type(get_tv_string(&argvars[1]));
      if (xpc.xp_context == EXPAND_NOTHING)
      {
--- 13108,13114 ----
  
      ExpandInit(&xpc);
      xpc.xp_pattern = get_tv_string(&argvars[0]);
!     xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern);
      xpc.xp_context = cmdcomplete_str_to_type(get_tv_string(&argvars[1]));
      if (xpc.xp_context == EXPAND_NOTHING)
      {
***************
*** 13122,13128 ****
      if (xpc.xp_context == EXPAND_MENUS)
      {
        set_context_in_menu_cmd(&xpc, (char_u *)"menu", xpc.xp_pattern, FALSE);
!       xpc.xp_pattern_len = STRLEN(xpc.xp_pattern);
      }
  
      pat = addstar(xpc.xp_pattern, xpc.xp_pattern_len, xpc.xp_context);
--- 13122,13128 ----
      if (xpc.xp_context == EXPAND_MENUS)
      {
        set_context_in_menu_cmd(&xpc, (char_u *)"menu", xpc.xp_pattern, FALSE);
!       xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern);
      }
  
      pat = addstar(xpc.xp_pattern, xpc.xp_pattern_len, xpc.xp_context);
*** ../vim-7.4.2021/src/version.c       2016-07-10 19:03:47.703212491 +0200
--- src/version.c       2016-07-10 19:21:53.838976130 +0200
***************
*** 760,761 ****
--- 760,763 ----
  {   /* Add new patch number below this line */
+ /**/
+     2022,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
269. You wonder how you can make your dustbin produce Sesame Street's
     Oscar's the Garbage Monster song when you empty it.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui