From: Anthony Geay Date: Thu, 28 Dec 2017 11:04:16 +0000 (+0100) Subject: Porting to VTK8.1 X-Git-Tag: V9_0_0^2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ecc6a84a63742db195c9a43811c69ceaa013fada;p=modules%2Fsmesh.git Porting to VTK8.1 --- diff --git a/src/OBJECT/SMESH_ScalarBarActor.cxx b/src/OBJECT/SMESH_ScalarBarActor.cxx index 8096b1609..e631e856c 100644 --- a/src/OBJECT/SMESH_ScalarBarActor.cxx +++ b/src/OBJECT/SMESH_ScalarBarActor.cxx @@ -557,7 +557,8 @@ int SMESH_ScalarBarActor::RenderOpaqueGeometry(vtkViewport *viewport) } //polygons & cell colors - unsigned char *rgba, *rgb; + unsigned char *rgb; + const unsigned char *rgba; vtkIdType ptIds[4], dcCount=0; for ( i = 0; i < numColors; i++ ) {