summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-03-19 23:08:48 +0100
committerBram Moolenaar <Bram@vim.org>2010-03-19 23:08:48 +0100
commit94127e4abc4d33ed5efc5f08f87d4733fe0ab354 (patch)
treee05967811f4cc5c9988b0774ffbd208d2d49a3ce /src
parentb52073ac119b8243a07dc67c15bf80cb5b8b0be4 (diff)
downloadvim-git-94127e4abc4d33ed5efc5f08f87d4733fe0ab354.tar.gz
updated for version 7.2.403v7.2.403
Problem: Compiler warning for pointer type. (Tony Mechelynck) Solution: Move type cast to the right place.
Diffstat (limited to 'src')
-rw-r--r--src/if_ruby.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
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
@@ -682,6 +682,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 403,
+/**/
402,
/**/
401,