diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-19 23:36:04 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-19 23:36:04 +0000 |
| commit | b95636c52fbb058a39548bcbc4e86456ebbd7b7b (patch) | |
| tree | 0f82f8e3d225f3bcefdbf7070ae0716f1b309630 /coreutils | |
| parent | 2375d75f3267e6e4370f221fea485eac8e73d402 (diff) | |
| download | busybox-w32-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.gz busybox-w32-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.bz2 busybox-w32-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.zip | |
remove casts from xmalloc()
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 152 | } | 152 | } |
| 153 | 153 | ||
| 154 | /* open all the files */ | 154 | /* open all the files */ |
| 155 | fds = (int *)xmalloc(sizeof(int) * (argc - optind + 1)); | 155 | fds = xmalloc(sizeof(int) * (argc - optind + 1)); |
| 156 | 156 | ||
| 157 | argv += optind; | 157 | argv += optind; |
| 158 | nfiles = i = 0; | 158 | nfiles = i = 0; |
