diff --git a/tests/src/unit-custom-integer.cpp b/tests/src/unit-custom-integer.cpp index 3e810f472..e5958eaef 100644 --- a/tests/src/unit-custom-integer.cpp +++ b/tests/src/unit-custom-integer.cpp @@ -97,6 +97,6 @@ TEST_CASE("custom integer types") my_json as_json = my_json::parse(data.begin(), data.end()); wrapped_int i1 = as_json[1]; wrapped_int i2 = as_json[2]; - CHECK(i1 == wrapped_int(2)); + CHECK(i1 == wrapped_int(2u)); CHECK(i2 == wrapped_int(-3)); }