diff --git a/Code/FlowSolvers/ThreeDSolver/svPre/helpers.cxx b/Code/FlowSolvers/ThreeDSolver/svPre/helpers.cxx index 75f14ff..cd70be7 100644 --- a/Code/FlowSolvers/ThreeDSolver/svPre/helpers.cxx +++ b/Code/FlowSolvers/ThreeDSolver/svPre/helpers.cxx @@ -1915,7 +1915,8 @@ int VtkUtils_GetAllPolys( vtkPolyData *pd, int *numPgns, vtkIdType **pgns ) { vtkCellArray *pdPgns; int size, i; - vtkIdType npts, *pts; + vtkIdType npts; + vtkIdType const *pts; int pos = 0; (*numPgns) = pd->GetNumberOfPolys(); diff --git a/Code/FlowSolvers/ThreeDSolver/svPre/presolver-vtk-cmds.cxx b/Code/FlowSolvers/ThreeDSolver/svPre/presolver-vtk-cmds.cxx index c727d28..d45cb09 100644 --- a/Code/FlowSolvers/ThreeDSolver/svPre/presolver-vtk-cmds.cxx +++ b/Code/FlowSolvers/ThreeDSolver/svPre/presolver-vtk-cmds.cxx @@ -681,7 +681,7 @@ int cmd_mesh_and_adjncy_vtu(char *cmd) { vtkIdType meshCellId; vtkIdType p1, p2, p3; vtkIdType npts = 0; - vtkIdType *pts = 0; + vtkIdType const *pts; vtkSmartPointer < vtkIdList > ptIds = vtkSmartPointer < vtkIdList > ::New(); vtkSmartPointer < vtkIdList > cellIds = vtkSmartPointer < vtkIdList > ::New();