From 4cccc03768ecde58e8acd5e4f40e51227e3c14cc Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 22 Dec 2006 18:37:07 +0000 Subject: remove useless casts (type*) xzalloc(...) --- findutils/grep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'findutils/grep.c') diff --git a/findutils/grep.c b/findutils/grep.c index 8bb38f9..76f6562 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -360,7 +360,7 @@ int grep_main(int argc, char **argv) lines_before = 0; lines_after = 0; } else if (lines_before > 0) - before_buf = (char **)xzalloc(lines_before * sizeof(char *)); + before_buf = xzalloc(lines_before * sizeof(char *)); #else /* with auto sanity checks */ opt_complementary = "H-h:e::f::c-n:q-n:l-n"; -- cgit v1.1