Salome HOME
#18963 Minimize compiler warnings
[modules/smesh.git] / src / Tools / MeshCut / MeshCut_Utils.cxx
index 0f28f02c6476a175d7d013d26d8c6ead11631a38..07438154946b3d915462793a637954e91097f886 100644 (file)
@@ -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);