diff --git a/test/src/unit-msgpack.cpp b/test/src/unit-msgpack.cpp index 2bd1fb75e..e4e82df6c 100644 --- a/test/src/unit-msgpack.cpp +++ b/test/src/unit-msgpack.cpp @@ -270,8 +270,8 @@ TEST_CASE("MessagePack") SECTION("-9223372036854775808..-2147483649 (int 64)") { std::vector numbers; - numbers.push_back(-9223372036854775807-1); - numbers.push_back(-2147483649); + numbers.push_back(INT64_MIN); + numbers.push_back(-2147483649ll); for (auto i : numbers) { CAPTURE(i);