mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 12:14:26 +01:00
Fix tests compilation warnings on Windows.
This commit is contained in:
@@ -65,9 +65,9 @@ TEST_F(Dot11CFEndTest, ClonePDU) {
|
||||
|
||||
TEST_F(Dot11CFEndTest, 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 Dot11CFEnd *inner = dot11->find_pdu<Dot11CFEnd>();
|
||||
ASSERT_TRUE(inner);
|
||||
ASSERT_TRUE(inner != NULL);
|
||||
test_equals_expected(*inner);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user