Date: Sat, 18 Dec 2010 11:45:54 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r216517 - stable/8/sys/netinet Message-ID: <201012181145.oBIBjsvg079738@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Sat Dec 18 11:45:54 2010 New Revision: 216517 URL: http://svn.freebsd.org/changeset/base/216517 Log: MFC 216480: Add a missing cast. Reported by blade_ly at yahoo.com.cn. Approved by: re (kib) Modified: stable/8/sys/netinet/sctp_indata.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) Modified: stable/8/sys/netinet/sctp_indata.c ============================================================================== --- stable/8/sys/netinet/sctp_indata.c Sat Dec 18 11:31:32 2010 (r216516) +++ stable/8/sys/netinet/sctp_indata.c Sat Dec 18 11:45:54 2010 (r216517) @@ -1754,7 +1754,7 @@ sctp_process_a_data_chunk(struct sctp_tc asoc->fragmented_delivery_inprogress == 0 && TAILQ_EMPTY(&asoc->resetHead) && ((ordered == 0) || - ((asoc->strmin[strmno].last_sequence_delivered + 1) == strmseq && + ((uint16_t) (asoc->strmin[strmno].last_sequence_delivered + 1) == strmseq && TAILQ_EMPTY(&asoc->strmin[strmno].inqueue)))) { /* Candidate for express delivery */ /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012181145.oBIBjsvg079738>