mirror of
https://github.com/nlohmann/json.git
synced 2024-12-12 03:49:22 +08:00
💚 still fixing the AppVeyor error
This commit is contained in:
parent
2c7946f2bc
commit
74571d531c
@ -92,7 +92,7 @@ TEST_CASE("CBOR")
|
||||
// create expected byte vector
|
||||
std::vector<uint8_t> expected;
|
||||
expected.push_back(static_cast<uint8_t>(0x39));
|
||||
uint16_t positive = -1 - i;
|
||||
uint16_t positive = static_cast<uint16_t>(-1 - i);
|
||||
expected.push_back(static_cast<uint8_t>((positive >> 8) & 0xff));
|
||||
expected.push_back(static_cast<uint8_t>(positive & 0xff));
|
||||
|
||||
|
@ -225,9 +225,9 @@ TEST_CASE("MessagePack")
|
||||
|
||||
SECTION("-32769..-2147483648")
|
||||
{
|
||||
for (int32_t i : std::vector<int32_t>(
|
||||
for (auto i : std::vector<int32_t>(
|
||||
{
|
||||
-32769l, -65536l, -77777l, -1048576l, -2147483648l
|
||||
-32769, -65536, -77777, -1048576, -2147483648
|
||||
}))
|
||||
{
|
||||
CAPTURE(i);
|
||||
|
Loading…
Reference in New Issue
Block a user