Commit 986d07fb authored by Martin Heistermann's avatar Martin Heistermann

Try to fix msvc warning

parent 587ae9af
......@@ -112,7 +112,7 @@ public:
static HandleT<EntityTag>
from_unsigned(size_t _idx)
{
if (_idx <= std::numeric_limits<int>::max()) {
if (_idx <= static_cast<size_t>(std::numeric_limits<int>::max())) {
return HandleT<EntityTag>(static_cast<int>(_idx));
} else {
assert(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment