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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user