🚨 fixed some warnings

This commit is contained in:
Niels Lohmann 2016-12-12 18:21:17 +01:00
parent b8776e8613
commit 447e01427d
3 changed files with 7 additions and 7 deletions

View file

@ -138,7 +138,7 @@ TEST_CASE("CBOR")
(static_cast<uint64_t>(result[7]) << 010) +
static_cast<uint64_t>(result[8]));
CHECK(restored == positive);
CHECK(-1 - restored == i);
CHECK(-1 - static_cast<int64_t>(restored) == i);
// roundtrip
CHECK(json::from_cbor(result) == j);