1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-26 12:01:34 +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

@@ -81,9 +81,9 @@ TEST_F(Dot11BlockAckRequestTest, ClonePDU) {
TEST_F(Dot11BlockAckRequestTest, FromBytes) {
Internals::smart_ptr<PDU>::type dot11(Dot11::from_bytes(expected_packet, sizeof(expected_packet)));
ASSERT_TRUE(dot11.get());
ASSERT_TRUE(dot11.get() != NULL);
const Dot11BlockAckRequest *inner = dot11->find_pdu<Dot11BlockAckRequest>();
ASSERT_TRUE(inner);
ASSERT_TRUE(inner != NULL);
test_equals_expected(*inner);
}