remove casts from xmalloc()

This commit is contained in:
Denis Vlasenko
2006-12-19 23:36:04 +00:00
parent 2375d75f32
commit b95636c52f
15 changed files with 25 additions and 27 deletions

View File

@@ -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;