Skip to content

Commit

Permalink
Removed compilation warning
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde committed Aug 27, 2020
1 parent 9b13c69 commit dda96b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EntityComponentManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Entity EntityComponentManager::CreateEntity()
{
Entity entity = ++this->dataPtr->entityCount;

if (entity == std::numeric_limits<int64_t>::max())
if (entity == std::numeric_limits<uint64_t>::max())
{
ignwarn << "Reached maximum number of entities [" << entity << "]"
<< std::endl;
Expand Down

0 comments on commit dda96b0

Please sign in to comment.