From: adam Date: Thu, 17 Feb 2011 14:40:05 +0000 (+0000) Subject: Remove warnings X-Git-Tag: Start_BR_19998_21191 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ffc59b92a0c0d7dd0030c57c8894aec9f86d4c0b;p=plugins%2Fghs3dprlplugin.git Remove warnings --- diff --git a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx index 01ed20e..6af32cb 100755 --- a/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx +++ b/src/GHS3DPRLPlugin/GHS3DPRLPlugin_GHS3DPRL.cxx @@ -295,9 +295,9 @@ static bool readResult(FILE * theFile, int shapeID = theMesh->ShapeToIndex( theShape ); int line = 1, EndOfFile = 0, nbElem = 0, nField = 10, nbRef = 0, aGHS3DPRLNodeID = 0; - char * theField; + const char * theField; - char * tabField [nField]; + const char * tabField [nField]; int tabRef [nField]; tabField[0] = "MeshVersionFormatted"; tabRef[0] = 0;