Fix a warning.
MFC after: 1 week
This commit is contained in:
parent
ab118d04be
commit
3ec509bcd3
@ -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…
x
Reference in New Issue
Block a user