From ee0f7d26199cb5229591ac0d5a048fd15c989e74 Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 29 Nov 2012 15:33:28 +0000 Subject: [PATCH] Compilation on Linux (Mandriva2010-64) --- src/VTKViewer/VTKViewer_GeometryFilter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2