All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 5/7] pan/reporter.c: remove unnecessary malloc type cast
@ 2015-06-15 13:24 Maninder Singh
  0 siblings, 0 replies; only message in thread
From: Maninder Singh @ 2015-06-15 13:24 UTC (permalink / raw)
  To: ltp-list

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
---
 pan/reporter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pan/reporter.c b/pan/reporter.c
index 7b4a1e0..b9ec482 100644
--- a/pan/reporter.c
+++ b/pan/reporter.c
@@ -100,7 +100,7 @@ static int scanner_reporter(SYM tags)
 	 * extract tag names from data
 	 */
 	ntags = NTAGS_START;
-	taglist = (char **)malloc(sizeof(char *) * ntags);
+	taglist = malloc(sizeof(char *) * ntags);
 	tagcount = 0;
 
 	tl = taglist;
-- 
1.7.9.5
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-15 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-15 13:24 [LTP] [PATCH 5/7] pan/reporter.c: remove unnecessary malloc type cast Maninder Singh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.