svn commit: r332193 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sat Apr 7 18:08:43 UTC 2018
Author: tuexen
Date: Sat Apr 7 18:08:42 2018
New Revision: 332193
URL: https://svnweb.freebsd.org/changeset/base/332193
Log:
MFC r323776:
Fix a warning.
Modified:
stable/11/sys/netinet/sctp_input.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/sctp_input.c
==============================================================================
--- stable/11/sys/netinet/sctp_input.c Sat Apr 7 18:06:40 2018 (r332192)
+++ stable/11/sys/netinet/sctp_input.c Sat Apr 7 18:08:42 2018 (r332193)
@@ -2582,7 +2582,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-stable
mailing list