1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-28 20:44:26 +01:00

Fixed lots of warnings in test cases, due to narrowing conversions.

This commit is contained in:
Matias Fontanini
2013-03-18 11:32:34 -03:00
parent a8edc2af74
commit 0f27b04a92
37 changed files with 216 additions and 305 deletions

View File

@@ -17,8 +17,8 @@ public:
};
const uint8_t ICMPTest::expected_packets[][8] = {
{'\x08', '\x01', '\xad', '{', 'V', '\xd1', '\xf3', '\xb1' },
{'\x0c', '\x00', 't', '\xff', '\x7f', '\x00', '\x00', '\x00'}
{ 8, 1, 173, 123, 86, 209, 243, 177 },
{ 12, 0, 116, 255, 127, 0, 0, 0 }
};
const uint32_t ICMPTest::expected_packet_count = 1;