1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Fix compilation warnings shown on travis.

This commit is contained in:
Matias Fontanini
2015-05-23 11:56:31 -07:00
parent 46f5d7a0cd
commit 8d28bfe7a1
9 changed files with 28 additions and 28 deletions

View File

@@ -504,7 +504,7 @@ TEST_F(IPTest, TotalLengthZeroPacket) {
EthernetII pkt(tot_len_zero_packet, sizeof(tot_len_zero_packet));
ASSERT_TRUE(pkt.find_pdu<TCP>() != NULL);
ASSERT_TRUE(pkt.find_pdu<RawPDU>() != NULL);
EXPECT_EQ(8192, pkt.rfind_pdu<RawPDU>().payload_size());
EXPECT_EQ(8192U, pkt.rfind_pdu<RawPDU>().payload_size());
}
TEST_F(IPTest, TOS) {