mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 12:44:25 +01:00
Fixed lots of warnings in test cases, due to narrowing conversions.
This commit is contained in:
@@ -16,7 +16,9 @@ public:
|
||||
void test_equals(const UDP& udp1, const UDP& udp2);
|
||||
};
|
||||
|
||||
const uint8_t UDPTest::expected_packet[] = {'\xf5', '\x1a', 'G', '\xf1', '\x04', 'S', '\x00', '\x00'};
|
||||
const uint8_t UDPTest::expected_packet[] = {
|
||||
245, 26, 71, 241, 4, 83, 0, 0
|
||||
};
|
||||
|
||||
|
||||
void UDPTest::test_equals(const UDP& udp1, const UDP& udp2) {
|
||||
|
||||
Reference in New Issue
Block a user