aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pan/zoolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pan/zoolib.c b/pan/zoolib.c
index afdc7069b..0ac785266 100644
--- a/pan/zoolib.c
+++ b/pan/zoolib.c
@@ -377,7 +377,7 @@ char *cat_args(int argc, char **argv)
size++;
}
- if ((cmd = (char *)malloc(size)) == NULL) {
+ if ((cmd = malloc(size)) == NULL) {
snprintf(zoo_error, ZELEN,
"Malloc Error, %s/%d", __FILE__, __LINE__);
return NULL;