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

Try to fix msvc warning

parent 587ae9af
...@@ -112,7 +112,7 @@ public: ...@@ -112,7 +112,7 @@ public:
static HandleT<EntityTag> static HandleT<EntityTag>
from_unsigned(size_t _idx) 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)); return HandleT<EntityTag>(static_cast<int>(_idx));
} else { } else {
assert(false); 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