From d1895084e41970c8f91e9357fcb739ac29c47109 Mon Sep 17 00:00:00 2001 From: Bernd Waibel Date: Sat, 15 Jun 2019 16:19:30 +0200 Subject: [PATCH 4/5] WriteGeo.cpp: Fix a compile issue, where an invalid conversion from char* to const char* took place. Signed-off-by: Bernd Waibel --- prman/Procedural/WriteGeo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prman/Procedural/WriteGeo.cpp b/prman/Procedural/WriteGeo.cpp index 95b4867..5ad0b71 100644 --- a/prman/Procedural/WriteGeo.cpp +++ b/prman/Procedural/WriteGeo.cpp @@ -898,7 +898,7 @@ void ProcessCurves( ICurves &curves, ProcArgs &args ) void WriteIdentifier( const ObjectHeader &ohead ) { std::string name = ohead.getFullName(); - char* nameArray[] = { const_cast( name.c_str() ), RI_NULL }; + const char* nameArray[] = { const_cast( name.c_str() ), RI_NULL }; RiAttribute(const_cast( "identifier" ), const_cast( "name" ), nameArray, RI_NULL ); -- 2.22.0