git: 238e4a1179b0 - stable/13 - sctp: add explicit cast, no functional change intended

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Tue, 22 Feb 2022 22:42:59 UTC
The branch stable/13 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=238e4a1179b0b03bf39bcc4e096f6771d2d82faa

commit 238e4a1179b0b03bf39bcc4e096f6771d2d82faa
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2021-09-09 17:13:47 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-02-22 22:42:37 +0000

    sctp: add explicit cast, no functional change intended
    
    (cherry picked from commit 3ea2cdd45ec1e057315ccc3aea16a65d62aad337)
---
 sys/netinet/sctp_pcb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 5a6c13fe1744..b5cb9bb04c11 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -4560,7 +4560,7 @@ sctp_add_vtag_to_timewait(uint32_t tag, uint16_t lport, uint16_t rport)
 
 	SCTP_INP_INFO_WLOCK_ASSERT();
 	(void)SCTP_GETTIME_TIMEVAL(&now);
-	time = now.tv_sec + SCTP_BASE_SYSCTL(sctp_vtag_time_wait);
+	time = (uint32_t)now.tv_sec + SCTP_BASE_SYSCTL(sctp_vtag_time_wait);
 	chain = &SCTP_BASE_INFO(vtag_timewait)[(tag % SCTP_STACK_VTAG_HASH_SIZE)];
 	set = false;
 	LIST_FOREACH(twait_block, chain, sctp_nxt_tagblock) {