From: ouv Date: Thu, 29 Nov 2012 15:33:28 +0000 (+0000) Subject: Compilation on Linux (Mandriva2010-64) X-Git-Tag: CTH_1_8_0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ee0f7d26199cb5229591ac0d5a048fd15c989e74;p=modules%2Fgui.git Compilation on Linux (Mandriva2010-64) --- diff --git a/src/VTKViewer/VTKViewer_GeometryFilter.cxx b/src/VTKViewer/VTKViewer_GeometryFilter.cxx index ff66f0b3f..955f682b5 100755 --- a/src/VTKViewer/VTKViewer_GeometryFilter.cxx +++ b/src/VTKViewer/VTKViewer_GeometryFilter.cxx @@ -507,7 +507,7 @@ VTKViewer_GeometryFilter { for (i = 0; i < numFacePts; i++) aNewPts[i] = ptIds[pt0 + i]; - newCellId = output->InsertNextCell(aCellType, numFacePts, aNewPts); + newCellId = output->InsertNextCell(aCellType, numFacePts, (vtkIdType*)aNewPts); if (myStoreMapping) myVTK2ObjIds.push_back(cellId); outputCD->CopyData(cd, cellId, newCellId);