components/vim/vim72-patches/7.2.254
changeset 379 c6a17bba1da3
parent 378 f0b61ed1d10d
child 380 e92b3b4a1c66
equal deleted inserted replaced
378:f0b61ed1d10d 379:c6a17bba1da3
     1 To: [email protected]
       
     2 Subject: Patch 7.2.254
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=UTF-8
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.254
       
    11 Problem:    Compiler warning for assigning size_t to int.
       
    12 Solution:   Use size_t for the variable. (George Reilly)
       
    13 Files:	    src/fileio.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.253/src/fileio.c	2009-07-29 18:24:59.000000000 +0200
       
    17 --- src/fileio.c	2009-09-11 13:46:19.000000000 +0200
       
    18 ***************
       
    19 *** 4568,4574 ****
       
    20   	    c = TRUE;
       
    21   	    if (write_info.bw_conv_error_lnum != 0)
       
    22   	    {
       
    23 ! 		int l = STRLEN(IObuff);
       
    24   		vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"),
       
    25   			(long)write_info.bw_conv_error_lnum);
       
    26   	    }
       
    27 --- 4568,4574 ----
       
    28   	    c = TRUE;
       
    29   	    if (write_info.bw_conv_error_lnum != 0)
       
    30   	    {
       
    31 ! 		size_t l = STRLEN(IObuff);
       
    32   		vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"),
       
    33   			(long)write_info.bw_conv_error_lnum);
       
    34   	    }
       
    35 *** ../vim-7.2.253/src/version.c	2009-09-11 14:19:41.000000000 +0200
       
    36 --- src/version.c	2009-09-11 15:03:42.000000000 +0200
       
    37 ***************
       
    38 *** 678,679 ****
       
    39 --- 678,681 ----
       
    40   {   /* Add new patch number below this line */
       
    41 + /**/
       
    42 +     254,
       
    43   /**/
       
    44 
       
    45 -- 
       
    46 hundred-and-one symptoms of being an internet addict:
       
    47 230. You spend your Friday nights typing away at your keyboard
       
    48 
       
    49  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    50 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    51 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    52  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///