fix warning C4018 (< between signed/unsigned)

Signed-off-by: DNKpp <DNKpp2011@gmail.com>
This commit is contained in:
DNKpp 2020-08-25 23:13:03 +02:00
parent a209b89e59
commit 8c859fb24a

View File

@ -55,7 +55,7 @@ Entity EntityManager::createEntity() {
// Create a new indice
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