mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 20:44:26 +01:00
Fix compilation warnings on Windows x64.
This commit is contained in:
@@ -104,7 +104,7 @@ TEST_F(SNAPTest, ConstructorFromBuffer) {
|
||||
EXPECT_EQ(0x0800, snap1.eth_type());
|
||||
EXPECT_EQ(1U, snap1.org_code());
|
||||
|
||||
SNAP snap2(&buffer[0], buffer.size());
|
||||
SNAP snap2(&buffer[0], (uint32_t)buffer.size());
|
||||
test_equals(snap1, snap2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user