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

Fix tests compilation warnings on Windows.

This commit is contained in:
Matias Fontanini
2015-05-16 11:08:52 -07:00
parent 325de4abca
commit d4e632f513
41 changed files with 163 additions and 162 deletions

View File

@@ -80,8 +80,8 @@ TEST_F(STPTest, ChainedPDUs) {
Dot3 pkt(input, sizeof(input));
STP *stp = pkt.find_pdu<STP>();
LLC *llc = pkt.find_pdu<LLC>();
ASSERT_TRUE(stp);
ASSERT_TRUE(llc);
ASSERT_TRUE(stp != NULL);
ASSERT_TRUE(llc != NULL);
EXPECT_EQ(0x8001, stp->port_id());
EXPECT_EQ(0, stp->msg_age());
EXPECT_EQ(20, stp->max_age());