mirror of https://github.com/CGAL/cgal
Fix warning
This commit is contained in:
parent
ed81f4dff8
commit
358d53a893
|
|
@ -72,7 +72,7 @@ void Scene_spheres_item_priv::pick(int& id) const
|
||||||
if(!pickable)
|
if(!pickable)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(id >= spheres.size())
|
if(id >= static_cast<int>(spheres.size()))
|
||||||
{
|
{
|
||||||
id = -1;
|
id = -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue