svn commit: r216480 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Dec 16 09:49:16 UTC 2010
Author: tuexen
Date: Thu Dec 16 09:49:16 2010
New Revision: 216480
URL: http://svn.freebsd.org/changeset/base/216480
Log:
Add a missing cast. Reported by blade_ly at yahoo.com.cn.
MFC after: 1 day.
Modified:
head/sys/netinet/sctp_indata.c
Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c Thu Dec 16 07:30:47 2010 (r216479)
+++ head/sys/netinet/sctp_indata.c Thu Dec 16 09:49:16 2010 (r216480)
@@ -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 */
/*
More information about the svn-src-all
mailing list