X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2FMeshCut%2FMeshCut_Utils.cxx;h=99c5909198f762750d32135c9fb8c62990f0a3e8;hb=40631039614fd2e27cedb2e29e6fd7939ce1854c;hp=5aa78dbb6bc377d2b00486d8151c2256505d7234;hpb=6d32f944a0a115b6419184c50b57bf7c4eef5786;p=modules%2Fsmesh.git diff --git a/src/Tools/MeshCut/MeshCut_Utils.cxx b/src/Tools/MeshCut/MeshCut_Utils.cxx index 5aa78dbb6..99c590919 100644 --- a/src/Tools/MeshCut/MeshCut_Utils.cxx +++ b/src/Tools/MeshCut/MeshCut_Utils.cxx @@ -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);