mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 12:44:25 +01:00
Fix compilation warnings on Windows x64.
This commit is contained in:
@@ -168,7 +168,7 @@ TEST_F(RSNEAPOLTest, ConstructionTest) {
|
||||
RSNEAPOL::serialization_type buffer = eapol.serialize();
|
||||
ASSERT_EQ(sizeof(expected_packet), buffer.size());
|
||||
|
||||
RSNEAPOL eapol2(&buffer[0], buffer.size());
|
||||
RSNEAPOL eapol2(&buffer[0], (uint32_t)buffer.size());
|
||||
test_equals(eapol, eapol2);
|
||||
|
||||
EXPECT_TRUE(std::equal(buffer.begin(), buffer.end(), expected_packet));
|
||||
|
||||
Reference in New Issue
Block a user