Signed-off-by: Maninder Singh <[email protected]>
Signed-off-by: Akhilesh Kumar <[email protected]>
---
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list