Signed-off-by: Maninder Singh <maninder...@samsung.com>
Signed-off-by: Akhilesh Kumar <akhiles...@samsung.com>
---
 pan/zoolib.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pan/zoolib.c b/pan/zoolib.c
index afdc706..0ac7852 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;
-- 
1.7.9.5
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to