fix warning C4018 (< between signed/unsigned)
Signed-off-by: DNKpp <DNKpp2011@gmail.com>
This commit is contained in:
parent
a209b89e59
commit
8c859fb24a
@ -55,7 +55,7 @@ Entity EntityManager::createEntity() {
|
|||||||
// Create a new indice
|
// Create a new indice
|
||||||
index = static_cast<uint32>(mGenerations.size()) - 1;
|
index = static_cast<uint32>(mGenerations.size()) - 1;
|
||||||
|
|
||||||
assert(index < (1 << Entity::ENTITY_INDEX_BITS));
|
assert(index < (1u << Entity::ENTITY_INDEX_BITS));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return a new entity
|
// Return a new entity
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user