mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Fix annoying warning about converting signed to unsigned.
This commit is contained in:
parent
797aac5537
commit
694010b8d7
@ -72,7 +72,7 @@ namespace detail {
|
||||
// arguments.
|
||||
template<typename T>
|
||||
struct UndefinedArrayPortal {
|
||||
BOOST_STATIC_ASSERT(sizeof(T) == -1);
|
||||
BOOST_STATIC_ASSERT(sizeof(T) == static_cast<size_t>(-1));
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
|
Loading…
Reference in New Issue
Block a user