From: Eduardo Davila Date: Fri, 29 May 2009 14:24:59 +0000 (+0000) Subject: UtilVtk3DGeometriSelection.cxx X-Git-Tag: EED.02Oct2009~62 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=11e8c474ce88693bf286ea3fc40d015304f0b277;p=creaMaracasVisu.git UtilVtk3DGeometriSelection.cxx --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/UtilVtk3DGeometriSelection.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/UtilVtk3DGeometriSelection.cxx index 9f3af99..fe19365 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/UtilVtk3DGeometriSelection.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/UtilVtk3DGeometriSelection.cxx @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: UtilVtk3DGeometriSelection.cxx,v $ Language: C++ - Date: $Date: 2009/05/14 13:54:34 $ - Version: $Revision: 1.2 $ + Date: $Date: 2009/05/29 14:24:59 $ + Version: $Revision: 1.3 $ Copyright: (c) 2002, 2003 License: @@ -113,8 +113,8 @@ bool UtilVtk3DGeometriSelection::FindCubePointsFromPoints( double* pO, double* p c( 2 ) = ( double )_depth / 2.0; // Sort with bubble sort. Only 30 iterations! - for( i = 0; i < points.size( ); i++ ) { - for( j = 0; j < points.size( ) - 1; j++ ) { + for( i = 0; i <(int) (points.size( )); i++ ) { + for( j = 0; j < (int)(points.size( )) - 1; j++ ) { d1 = ( c - *points[ j ] ).GetNorm( ); d2 = ( c - *points[ j + 1 ] ).GetNorm( );