summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-10-08 20:40:05 +0000
committerdim <dim@FreeBSD.org>2010-10-08 20:40:05 +0000
commitea3ce3603202a06ae9ada07c931c8d415bd3313b (patch)
treef008bb8165d5452d2d143346ef26643ebc28f7e3 /usr.bin
parentf3d9dd1ac925b5458c89e66763a526ca72dc601c (diff)
downloadFreeBSD-src-ea3ce3603202a06ae9ada07c931c8d415bd3313b.zip
FreeBSD-src-ea3ce3603202a06ae9ada07c931c8d415bd3313b.tar.gz
Remove superfluous cast in usr.bin/netstat/sctp.c.
Found by: clang Submitted by: Norberto Lopes, nlopes dot ml at gmail dot com Approved by: rpaulo (mentor)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/sctp.c b/usr.bin/netstat/sctp.c
index fe29787..a036b80 100644
--- a/usr.bin/netstat/sctp.c
+++ b/usr.bin/netstat/sctp.c
@@ -355,7 +355,7 @@ sctp_process_inpcb(struct xsctp_inpcb *xinpcb, const char *name,
first = 0;
}
if (Lflag && xinpcb->maxqlen == 0) {
- (int)sctp_skip_xinpcb_ifneed(buf, buflen, offset);
+ sctp_skip_xinpcb_ifneed(buf, buflen, offset);
return;
}
if (Aflag)
OpenPOWER on IntegriCloud