diff options
Diffstat (limited to 'libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp b/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp index 3e6a7d79ffd..12772c42f16 100644 --- a/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp +++ b/libcxx/test/std/containers/views/span.objectrep/as_bytes.pass.cpp @@ -72,7 +72,7 @@ int main(int, char**) testRuntimeSpan(std::span<int, 5>(iArr2 + 1, 5)); std::string s; - testRuntimeSpan(std::span<std::string>(&s, (std::ptrdiff_t) 0)); + testRuntimeSpan(std::span<std::string>(&s, (std::size_t) 0)); testRuntimeSpan(std::span<std::string>(&s, 1)); return 0; |