Fix a signed/unsigned comparison warning.

This commit is contained in:
David Doria 2016-11-29 20:08:32 -06:00 committed by Neil MacIntosh
parent d2dafe2ddf
commit c52d54f955

View File

@ -1660,7 +1660,7 @@ SUITE(multi_span_tests)
multi_span<int, dynamic_range> av = a; multi_span<int, dynamic_range> av = a;
auto wav = as_writeable_bytes(av); auto wav = as_writeable_bytes(av);
CHECK(wav.data() == reinterpret_cast<byte*>(&a[0])); CHECK(wav.data() == reinterpret_cast<byte*>(&a[0]));
CHECK(wav.length() == sizeof(a)); CHECK(static_cast<std::size_t>(wav.length()) == sizeof(a));
} }
} }