components/vim/vim72-patches/7.2.403
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.403
       
     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.403 (after 7.2.400)
       
    11 Problem:    Compiler warning for pointer type. (Tony Mechelynck)
       
    12 Solution:   Move type cast to the right place.
       
    13 Files:	    src/if_ruby.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.402/src/if_ruby.c	2010-03-17 18:15:17.000000000 +0100
       
    17 --- src/if_ruby.c	2010-03-19 23:08:06.000000000 +0100
       
    18 ***************
       
    19 *** 722,729 ****
       
    20   
       
    21       if (tv->v_type == VAR_STRING)
       
    22       {
       
    23 ! 	result = rb_str_new2((char *)(tv->vval.v_string == NULL
       
    24 ! 						   ? "" : tv->vval.v_string));
       
    25       }
       
    26       else if (tv->v_type == VAR_NUMBER)
       
    27       {
       
    28 --- 722,729 ----
       
    29   
       
    30       if (tv->v_type == VAR_STRING)
       
    31       {
       
    32 ! 	result = rb_str_new2(tv->vval.v_string == NULL
       
    33 ! 					  ? "" : (char *)(tv->vval.v_string));
       
    34       }
       
    35       else if (tv->v_type == VAR_NUMBER)
       
    36       {
       
    37 *** ../vim-7.2.402/src/version.c	2010-03-17 19:53:44.000000000 +0100
       
    38 --- src/version.c	2010-03-19 23:07:13.000000000 +0100
       
    39 ***************
       
    40 *** 683,684 ****
       
    41 --- 683,686 ----
       
    42   {   /* Add new patch number below this line */
       
    43 + /**/
       
    44 +     403,
       
    45   /**/
       
    46 
       
    47 -- 
       
    48 If "R" is Reverse, how come "D" is FORWARD?
       
    49 
       
    50  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    51 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    52 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    53  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///