From af7d73c7ab76ad81fed78b7f5c024daf1af87d9d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 14 Jan 2009 01:56:15 +0000 Subject: Fix a few compiler warnings around implicit conversion or extra ";". svn path=/branches/BRANCH_6-3/; revision=5261 --- rcfile_y.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 7503bee0..cb9a262f 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -573,7 +573,7 @@ char *prependdir (const char *file, const char *dir) strcmp(file, "-") == 0 || /* stdin/stdout */ !dir[0]) /* we don't HAVE_GETCWD */ return xstrdup (file); - newfile = xmalloc (strlen (dir) + 1 + strlen (file) + 1); + newfile = (char *)xmalloc (strlen (dir) + 1 + strlen (file) + 1); if (dir[strlen(dir) - 1] != '/') sprintf (newfile, "%s/%s", dir, file); else -- cgit v1.2.3