From 10db88c07b6914d53cd4dde0afe504570e25147b Mon Sep 17 00:00:00 2001 From: Roxanne Skelly Date: Tue, 21 May 2019 12:32:01 -0700 Subject: [PATCH] Fix ubuntu warning --- interface/src/octree/SafeLanding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/octree/SafeLanding.cpp b/interface/src/octree/SafeLanding.cpp index 26bd3ac41f..de552b7b84 100644 --- a/interface/src/octree/SafeLanding.cpp +++ b/interface/src/octree/SafeLanding.cpp @@ -170,7 +170,7 @@ bool SafeLanding::isEntityPhysicsReady(const EntityItemPointer& entity) { entity->getAABox(hasAABox); if (hasAABox && downloadedCollisionTypes.count(modelEntity->getShapeType()) != 0) { auto space = _entityTreeRenderer->getWorkloadSpace(); - uint8_t region = space ? space->getRegion(entity->getSpaceIndex()) : workload::Region::INVALID; + uint8_t region = space ? space->getRegion(entity->getSpaceIndex()) : (uint8_t)workload::Region::INVALID; bool shouldBePhysical = region < workload::Region::R3 && entity->shouldBePhysical(); return (!shouldBePhysical || entity->isInPhysicsSimulation() || modelEntity->computeShapeFailedToLoad()); }