Karsten Hopp 1983f9
To: vim_dev@googlegroups.com
Karsten Hopp 1983f9
Subject: Patch 7.3.855
Karsten Hopp 1983f9
Fcc: outbox
Karsten Hopp 1983f9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 1983f9
Mime-Version: 1.0
Karsten Hopp 1983f9
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 1983f9
Content-Transfer-Encoding: 8bit
Karsten Hopp 1983f9
------------
Karsten Hopp 1983f9
Karsten Hopp 1983f9
Patch 7.3.855
Karsten Hopp 1983f9
Problem:    Compiler warnings.
Karsten Hopp 1983f9
Solution:   Add type casts. (Mike Williams)
Karsten Hopp 1983f9
Files:	    src/misc1.c
Karsten Hopp 1983f9
Karsten Hopp 1983f9
Karsten Hopp 1983f9
*** ../vim-7.3.854/src/misc1.c	2013-03-07 13:13:45.000000000 +0100
Karsten Hopp 1983f9
--- src/misc1.c	2013-03-13 16:58:12.000000000 +0100
Karsten Hopp 1983f9
***************
Karsten Hopp 1983f9
*** 5468,5474 ****
Karsten Hopp 1983f9
  
Karsten Hopp 1983f9
  	for (i = 0; i < (int)(sizeof(skip) / sizeof(char *)); ++i)
Karsten Hopp 1983f9
  	{
Karsten Hopp 1983f9
! 	    l = strlen(skip[i]);
Karsten Hopp 1983f9
  	    if (cin_starts_with(s, skip[i]))
Karsten Hopp 1983f9
  	    {
Karsten Hopp 1983f9
  		s = cin_skipcomment(s + l);
Karsten Hopp 1983f9
--- 5468,5474 ----
Karsten Hopp 1983f9
  
Karsten Hopp 1983f9
  	for (i = 0; i < (int)(sizeof(skip) / sizeof(char *)); ++i)
Karsten Hopp 1983f9
  	{
Karsten Hopp 1983f9
! 	    l = (int)strlen(skip[i]);
Karsten Hopp 1983f9
  	    if (cin_starts_with(s, skip[i]))
Karsten Hopp 1983f9
  	    {
Karsten Hopp 1983f9
  		s = cin_skipcomment(s + l);
Karsten Hopp 1983f9
***************
Karsten Hopp 1983f9
*** 6430,6436 ****
Karsten Hopp 1983f9
      char_u *s;
Karsten Hopp 1983f9
      char *word;
Karsten Hopp 1983f9
  {
Karsten Hopp 1983f9
!     int l = STRLEN(word);
Karsten Hopp 1983f9
  
Karsten Hopp 1983f9
      return (STRNCMP(s, word, l) == 0 && !vim_isIDc(s[l]));
Karsten Hopp 1983f9
  }
Karsten Hopp 1983f9
--- 6430,6436 ----
Karsten Hopp 1983f9
      char_u *s;
Karsten Hopp 1983f9
      char *word;
Karsten Hopp 1983f9
  {
Karsten Hopp 1983f9
!     int l = (int)STRLEN(word);
Karsten Hopp 1983f9
  
Karsten Hopp 1983f9
      return (STRNCMP(s, word, l) == 0 && !vim_isIDc(s[l]));
Karsten Hopp 1983f9
  }
Karsten Hopp 1983f9
*** ../vim-7.3.854/src/version.c	2013-03-07 19:38:49.000000000 +0100
Karsten Hopp 1983f9
--- src/version.c	2013-03-13 16:59:02.000000000 +0100
Karsten Hopp 1983f9
***************
Karsten Hopp 1983f9
*** 730,731 ****
Karsten Hopp 1983f9
--- 730,733 ----
Karsten Hopp 1983f9
  {   /* Add new patch number below this line */
Karsten Hopp 1983f9
+ /**/
Karsten Hopp 1983f9
+     855,
Karsten Hopp 1983f9
  /**/
Karsten Hopp 1983f9
Karsten Hopp 1983f9
-- 
Karsten Hopp 1983f9
George:  "I just got a new set of golf clubs for my wife!"
Karsten Hopp 1983f9
  John:  "Great trade!"
Karsten Hopp 1983f9
Karsten Hopp 1983f9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 1983f9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 1983f9
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 1983f9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///