pan/ltp-bump.c: remove unnecessary malloc type cast
PATCH 4/7 pan/ltp-bump.c: remove unnecessary malloc type cast
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(-)
pan/ltp-bump.c +1 -1
@@ -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' :
Signature · 6 lines
1.7.9.5 ------------------------------------------------------------------------------ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list