mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Add a explict cast to silence a warning when building
the userland stack on Windows. This issue was reported by Peter Kasting from Google. MFC after: 3 days
This commit is contained in:
parent
47b80412cd
commit
b60b0fe6fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271674
@ -2403,8 +2403,8 @@ sctp_calculate_rto(struct sctp_tcb *stcb,
|
||||
net->rtt = (uint64_t) 1000000 *(uint64_t) now.tv_sec +
|
||||
(uint64_t) now.tv_usec;
|
||||
|
||||
/* computer rtt in ms */
|
||||
rtt = net->rtt / 1000;
|
||||
/* compute rtt in ms */
|
||||
rtt = (int32_t) (net->rtt / 1000);
|
||||
if ((asoc->cc_functions.sctp_rtt_calculated) && (rtt_from_sack == SCTP_RTT_FROM_DATA)) {
|
||||
/*
|
||||
* Tell the CC module that a new update has just occurred
|
||||
|
Loading…
Reference in New Issue
Block a user