aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2009-01-14 01:56:15 +0000
committerMatthias Andree <matthias.andree@gmx.de>2009-01-14 01:56:15 +0000
commitaf7d73c7ab76ad81fed78b7f5c024daf1af87d9d (patch)
tree9edb72176a3491b5d10e48b9570aca071fdba731 /rcfile_y.y
parenta804c2b676aa9629bea657e78d5e6803b85228cc (diff)
downloadfetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.tar.gz
fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.tar.bz2
fetchmail-af7d73c7ab76ad81fed78b7f5c024daf1af87d9d.zip
Fix a few compiler warnings around implicit conversion or extra ";".
svn path=/branches/BRANCH_6-3/; revision=5261
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
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