From: Bram Moolenaar Date: Fri, 19 Mar 2010 22:08:48 +0000 (+0100) Subject: updated for version 7.2.403 X-Git-Tag: v7.2.403 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94127e4abc4d33ed5efc5f08f87d4733fe0ab354;p=vim updated for version 7.2.403 Problem: Compiler warning for pointer type. (Tony Mechelynck) Solution: Move type cast to the right place. --- diff --git a/src/if_ruby.c b/src/if_ruby.c index 41cb7917b..2ee329bcf 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -722,8 +722,8 @@ static VALUE vim_to_ruby(typval_T *tv) if (tv->v_type == VAR_STRING) { - result = rb_str_new2((char *)(tv->vval.v_string == NULL - ? "" : tv->vval.v_string)); + result = rb_str_new2(tv->vval.v_string == NULL + ? "" : (char *)(tv->vval.v_string)); } else if (tv->v_type == VAR_NUMBER) { diff --git a/src/version.c b/src/version.c index c625dffa9..12174c7ae 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 403, /**/ 402, /**/