From de289ea336dae94b69bda050863e74d444f79596 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 7 Dec 2016 19:15:05 +0100 Subject: [PATCH] :green_heart: another approach to the AppVeyor error --- test/src/unit-msgpack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/unit-msgpack.cpp b/test/src/unit-msgpack.cpp index 2bd1fb75..e4e82df6 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);