4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
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.
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
21 if (tv->v_type == VAR_STRING)
23 ! result = rb_str_new2((char *)(tv->vval.v_string == NULL
24 ! ? "" : tv->vval.v_string));
26 else if (tv->v_type == VAR_NUMBER)
30 if (tv->v_type == VAR_STRING)
32 ! result = rb_str_new2(tv->vval.v_string == NULL
33 ! ? "" : (char *)(tv->vval.v_string));
35 else if (tv->v_type == VAR_NUMBER)
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
42 { /* Add new patch number below this line */
48 If "R" is Reverse, how come "D" is FORWARD?
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///