Salome HOME
Copyright update 2021
[modules/smesh.git] / src / Tools / MeshCut / MeshCut_Utils.cxx
index 5aa78dbb6bc377d2b00486d8151c2256505d7234..99c5909198f762750d32135c9fb8c62990f0a3e8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2019  EDF R&D
+// Copyright (C) 2006-2021  EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -437,7 +437,7 @@ int MESHCUT::codeGMSH(std::string type)
 
 std::string MESHCUT::floatEnsight(float x)
 {
-  char buf[12];
+  char buf[20];
   string s;
   if (x < 0.0)
     sprintf(buf, "%1.5E", x);
@@ -1035,7 +1035,7 @@ float MESHCUT::distance2(float x1, float y1, float z1, float x2, float y2, float
 /*!
  *  Conversion HL-MED d'une table de connectivités
  */
-void MESHCUT::conversionCNX(int *CNXtm, TYPE_MAILLE tm, int N)
+void MESHCUT::conversionCNX(med_int *CNXtm, TYPE_MAILLE tm, int N)
 {
 
   int n = Nnoeuds(tm);