From b95636c52fbb058a39548bcbc4e86456ebbd7b7b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 19 Dec 2006 23:36:04 +0000 Subject: remove casts from xmalloc() --- coreutils/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/tail.c b/coreutils/tail.c index 505a8fd6b..643c0f3c9 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c @@ -152,7 +152,7 @@ int tail_main(int argc, char **argv) } /* open all the files */ - fds = (int *)xmalloc(sizeof(int) * (argc - optind + 1)); + fds = xmalloc(sizeof(int) * (argc - optind + 1)); argv += optind; nfiles = i = 0; -- cgit v1.2.3