aboutsummaryrefslogtreecommitdiff
path: root/pan
diff options
context:
space:
mode:
authorManinder Singh <maninder1.s@samsung.com>2015-06-15 13:23:03 +0000
committerCyril Hrubis <chrubis@suse.cz>2015-06-16 21:59:53 +0200
commit82e577fab462df7f04d9d22b33ae375b8dbf6803 (patch)
tree81033e445ebdf3e70feb0b940219eb23c43d3b57 /pan
parent9e3a07530f460b32fd381b3538d37c9944de83f8 (diff)
pan/zoolib.c: remove unnecessary type cast for malloc
Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
Diffstat (limited to 'pan')
-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;