From: Jan Engelhardt Date: Sun, 25 Jul 2010 21:36:17 +0000 (+0200) Subject: xtables: remove unnecessary cast X-Git-Tag: v1.4.10~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=371cea299f0b2eb100b9fc9fb99089640d2d606f;p=thirdparty%2Fiptables.git xtables: remove unnecessary cast Signed-off-by: Jan Engelhardt --- 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)) {