mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fix a signed/unsigned comparison warning.
This commit is contained in:
parent
d2dafe2ddf
commit
c52d54f955
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user