Fix warning

This commit is contained in:
Maxime Gimeno 2020-01-03 08:58:52 +01:00
parent ed81f4dff8
commit 358d53a893
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }