Patch 8.0.1687
Problem:    64 bit compiler warnings.
Solution:   change type, add type cast. (Mike Williams)
Files:      src/terminal.c


*** ../vim-8.0.1686/src/terminal.c      2018-04-10 15:59:04.295392601 +0200
--- src/terminal.c      2018-04-10 18:22:54.932076916 +0200
***************
*** 3400,3406 ****
      static void *
  vterm_malloc(size_t size, void *data UNUSED)
  {
!     return alloc_clear(size);
  }
  
      static void
--- 3400,3406 ----
      static void *
  vterm_malloc(size_t size, void *data UNUSED)
  {
!     return alloc_clear((unsigned) size);
  }
  
      static void
***************
*** 4016,4024 ****
      int           fname_size;
      char_u  *p = fname;
      int           i;
!     int           off;
  
!     textline = alloc(width + STRLEN(fname) + 1);
      if (textline == NULL)
        return NULL;
  
--- 4016,4024 ----
      int           fname_size;
      char_u  *p = fname;
      int           i;
!     size_t  off;
  
!     textline = alloc(width + (int)STRLEN(fname) + 1);
      if (textline == NULL)
        return NULL;
  
*** ../vim-8.0.1686/src/version.c       2018-04-10 18:13:01.284148299 +0200
--- src/version.c       2018-04-10 18:24:25.051458141 +0200
***************
*** 764,765 ****
--- 764,767 ----
  {   /* Add new patch number below this line */
+ /**/
+     1687,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
149. You find your computer sexier than your girlfriend

 /// 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