aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
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)