diff --git a/tests/multi_span_tests.cpp b/tests/multi_span_tests.cpp index 0c17944..cab9db1 100644 --- a/tests/multi_span_tests.cpp +++ b/tests/multi_span_tests.cpp @@ -1660,7 +1660,7 @@ SUITE(multi_span_tests) multi_span av = a; auto wav = as_writeable_bytes(av); CHECK(wav.data() == reinterpret_cast(&a[0])); - CHECK(wav.length() == sizeof(a)); + CHECK(static_cast(wav.length()) == sizeof(a)); } }