tcp: fix bogus time update due to missing cast 73/27073/3
authorFlorin Coras <fcoras@cisco.com>
Thu, 14 May 2020 00:30:18 +0000 (00:30 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Mon, 18 May 2020 16:43:50 +0000 (16:43 +0000)
commitb5898d2f77a0451c506b10a3a4885e974ef418a1
tree3f1fe8958a9cefb504a74af9032da6545eda1c36
parent8337806b5f03b6603a0e24ae7971672e1a7476ab
tcp: fix bogus time update due to missing cast

Type: fix
Ticket: VPP-1874

Seems clang needs explicit casting to u64 of u64 and f64 multiplication
before truncating to u32

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ib0d7a33d4c5e68577e401e854fc3e55e0723da93
(cherry picked from commit 17b5c3d6ab83a597e7c79613041f2fd7470825bd)
src/vnet/tcp/tcp_inlines.h