From: ptv Date: Mon, 27 Oct 2008 05:50:16 +0000 (+0000) Subject: compilation on Windows X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=10d39a7e58bf43ed549c0f1308c83a3485f2d9ae;p=modules%2Fgui.git compilation on Windows --- diff --git a/src/SVTK/SVTK_CubeAxesActor2D.cxx b/src/SVTK/SVTK_CubeAxesActor2D.cxx index 4f109801c..f8e65b9b9 100644 --- a/src/SVTK/SVTK_CubeAxesActor2D.cxx +++ b/src/SVTK/SVTK_CubeAxesActor2D.cxx @@ -202,11 +202,12 @@ static void ChangeValues(vtkFloatingPointType* aArray1, { vtkFloatingPointType tmp=-1000; if (!theY){ - for (int i=0; i<4; i++){ + int i=0; + for (; i<4; i++){ tmp = aArray1[i]; aArray1[i] = aArray2[i]; aArray2[i] = tmp; } #ifndef WIN32 - for(int i=0;i<2; i++){ + for(i=0;i<2; i++){ #else for(i=0;i<2; i++){ #endif