aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd/popen.c
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2004-11-13 13:15:47 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2004-11-13 13:15:47 +0000
commite3765043a8cfb12684805d2f192cfcc264032f5b (patch)
tree28e1903d02414cbd18530638262a9c7e379af4ce /libexec/ftpd/popen.c
parent51ac12ab2803b6f917574c1926c99d7502489cbd (diff)
downloadsrc-e3765043a8cfb12684805d2f192cfcc264032f5b.tar.gz
src-e3765043a8cfb12684805d2f192cfcc264032f5b.zip
Kill ancient casts to integral types left from the K&R era.
They're unneeded and sometimes erroneous now.
Notes
Notes: svn path=/head/; revision=137659
Diffstat (limited to 'libexec/ftpd/popen.c')
-rw-r--r--libexec/ftpd/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index abc4ec2cd5a2..05b6d6f62ebc 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -84,7 +84,7 @@ ftpd_popen(char *program, char *type)
if (!pids) {
if ((fds = getdtablesize()) <= 0)
return (NULL);
- if ((pids = (int *)malloc((u_int)(fds * sizeof(int)))) == NULL)
+ if ((pids = malloc(fds * sizeof(int))) == NULL)
return (NULL);
memset(pids, 0, fds * sizeof(int));
}