]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
compilation on Windows
authorptv <ptv@opencascade.com>
Mon, 27 Oct 2008 05:50:16 +0000 (05:50 +0000)
committerptv <ptv@opencascade.com>
Mon, 27 Oct 2008 05:50:16 +0000 (05:50 +0000)
src/SVTK/SVTK_CubeAxesActor2D.cxx

index 4f109801cbf1185b46afbecc27cdeb1bbaa76b64..f8e65b9b9ffba90ae7043f0480267134e9a1e137 100644 (file)
@@ -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