diff --git a/test/src/unit-ubjson.cpp b/test/src/unit-ubjson.cpp index b7daa1a1..d65f5a14 100644 --- a/test/src/unit-ubjson.cpp +++ b/test/src/unit-ubjson.cpp @@ -89,16 +89,16 @@ TEST_CASE("UBJSON") { std::vector numbers; numbers.push_back((std::numeric_limits::min)()); - numbers.push_back(-1000000000000000000); - numbers.push_back(-100000000000000000); - numbers.push_back(-10000000000000000); - numbers.push_back(-1000000000000000); - numbers.push_back(-100000000000000); - numbers.push_back(-10000000000000); - numbers.push_back(-1000000000000); - numbers.push_back(-100000000000); - numbers.push_back(-10000000000); - numbers.push_back(-2147483649); + numbers.push_back(-1000000000000000000l); + numbers.push_back(-100000000000000000l); + numbers.push_back(-10000000000000000l); + numbers.push_back(-1000000000000000l); + numbers.push_back(-100000000000000l); + numbers.push_back(-10000000000000l); + numbers.push_back(-1000000000000l); + numbers.push_back(-100000000000l); + numbers.push_back(-10000000000l); + numbers.push_back(-2147483649l); for (auto i : numbers) { CAPTURE(i);