From ecc6a84a63742db195c9a43811c69ceaa013fada Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 28 Dec 2017 12:04:16 +0100 Subject: [PATCH] Porting to VTK8.1 --- src/OBJECT/SMESH_ScalarBarActor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++ ) {