aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
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 /uid.c
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 'uid.c')
-rw-r--r--uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uid.c b/uid.c
index a4164b44..fdc6f5da 100644
--- a/uid.c
+++ b/uid.c
@@ -619,7 +619,7 @@ void write_saved_lists(struct query *hostlist, const char *idfile)
if (unlink(idfile) && errno != ENOENT)
report(stderr, GT_("Error deleting %s: %s\n"), idfile, strerror(errno));
} else {
- char *newnam = xmalloc(strlen(idfile) + 2);
+ char *newnam = (char *)xmalloc(strlen(idfile) + 2);
strcpy(newnam, idfile);
strcat(newnam, "_");
if (outlevel >= O_DEBUG)