Fix a warning.
MFC after: 1 week
This commit is contained in:
parent
ab118d04be
commit
3ec509bcd3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323776
@ -2579,7 +2579,7 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
|
||||
} 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;
|
||||
|
Loading…
Reference in New Issue
Block a user