1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 12:44:25 +01:00

Fix compilation warnings

This commit is contained in:
Matias Fontanini
2016-02-21 18:50:47 -08:00
parent 5920185288
commit e5282f8a3c
3 changed files with 12 additions and 4 deletions

View File

@@ -346,7 +346,7 @@ TEST_F(FlowTest, StreamFollower_ThreeWayHandshake) {
if (i != 0) {
ts += milliseconds(100);
}
Packet packet(packets[i], ts);
Packet packet(packets[i], duration_cast<microseconds>(ts));
follower.process_packet(packet);
}
Stream& stream = follower.find_stream(IPv4Address("1.2.3.4"), 22,