🚨 fixed some warnings

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

No files matched your search

+1 -1
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);