🚨 fixed some warnings
This commit is contained in:
1 parent
b8776e8613
commit
447e01427d
3 files changed
+7
-7
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user