tcp: fix bogus time update due to missing cast 51/27051/5
authorFlorin Coras <fcoras@cisco.com>
Thu, 14 May 2020 00:30:18 +0000 (00:30 +0000)
committerDamjan Marion <dmarion@me.com>
Thu, 14 May 2020 18:09:05 +0000 (18:09 +0000)
commit17b5c3d6ab83a597e7c79613041f2fd7470825bd
treef8c2052de0f6159bedda296ad73ffd895d6aaf4d
parent1ce60463a8f1ed0e65af77662e4ecf9d52d36c47
tcp: fix bogus time update due to missing cast

Type: fix

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
src/vnet/tcp/tcp_inlines.h