Signed-off-by: Maninder Singh <maninder...@samsung.com> Signed-off-by: Akhilesh Kumar <akhiles...@samsung.com> --- pan/ltp-bump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pan/ltp-bump.c b/pan/ltp-bump.c index 5966c2e..b6d676f 100644 --- a/pan/ltp-bump.c +++ b/pan/ltp-bump.c @@ -53,7 +53,7 @@ int main(int argc, char **argv) while ((c = getopt(argc, argv, "a:s:12")) != -1) { switch (c) { case 'a': - active = (char *)malloc(strlen(optarg) + 1); + active = malloc(strlen(optarg) + 1); strcpy(active, optarg); break; case 's': -- 1.7.9.5 ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list