diff --git a/test/src/unit-msgpack.cpp b/test/src/unit-msgpack.cpp index 9275ad5e7..c3761fb5b 100644 --- a/test/src/unit-msgpack.cpp +++ b/test/src/unit-msgpack.cpp @@ -515,7 +515,7 @@ TEST_CASE("MessagePack") (static_cast(result[2]) << 020) + (static_cast(result[3]) << 010) + static_cast(result[4]); - CHECK(restored == i); + CHECK(static_cast(restored) == i); // roundtrip CHECK(json::from_msgpack(result) == j);