svn commit: r323776 - head/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Tue Sep 19 20:24:15 UTC 2017
Author: tuexen
Date: Tue Sep 19 20:24:13 2017
New Revision: 323776
URL: https://svnweb.freebsd.org/changeset/base/323776
Log:
Fix a warning.
MFC after: 1 week
Modified:
head/sys/netinet/sctp_input.c
Modified: head/sys/netinet/sctp_input.c
==============================================================================
--- head/sys/netinet/sctp_input.c Tue Sep 19 20:18:41 2017 (r323775)
+++ head/sys/netinet/sctp_input.c Tue Sep 19 20:24:13 2017 (r323776)
@@ -2579,7 +2579,7 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, in
} else {
staleness = diff.tv_sec * 1000000;
}
- if (UINT32_MAX - staleness >= diff.tv_usec) {
+ if (UINT32_MAX - staleness >= (uint32_t)diff.tv_usec) {
staleness += diff.tv_usec;
} else {
staleness = UINT32_MAX;
More information about the svn-src-all
mailing list