From 371cea299f0b2eb100b9fc9fb99089640d2d606f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 25 Jul 2010 23:36:17 +0200 Subject: xtables: remove unnecessary cast Signed-off-by: Jan Engelhardt --- xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtables.c b/xtables.c index ed082f3f..47a0d9cb 100644 --- a/xtables.c +++ b/xtables.c @@ -285,7 +285,7 @@ static char *get_modprobe(void) if (procfile < 0) return NULL; - ret = (char *) malloc(PROCFILE_BUFSIZ); + ret = malloc(PROCFILE_BUFSIZ); if (ret) { memset(ret, 0, PROCFILE_BUFSIZ); switch (read(procfile, ret, PROCFILE_BUFSIZ)) { -- cgit v1.2.3