Salome HOME
Access to 'Invalid value' of altitude from Bathymetry is added.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Displayer.cxx
index bb22802118e0abbfb2d39b6e963a3b9fb5cca4bf..e53d6bc7a3cc6f1275c9311b41b4389ce4232c40 100644 (file)
@@ -189,7 +189,7 @@ void HYDROGUI_Displayer::Display( const HYDROData_SequenceOfObjects& theObjs,
 
     if( aPrs )
     {
-      bool anIsVisible = anObj->IsVisible( (int)aViewer );
+      bool anIsVisible = anObj->IsVisible( (size_t)aViewer );
       aPrs->setVisible( anIsVisible );
     }
   }