Salome HOME
Fix computation height of isocel triangle with base equal zero : NaN
[tools/medcoupling.git] / src / MEDLoader / MEDLoaderBase.hxx
index 7d60b7e5c189d708ca9065f8184a75a0ebc2b1a3..b26c87a16000f92116ef2b01d8eb7dcb81d3f754 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -30,7 +30,7 @@ class MEDLOADER_EXPORT MEDLoaderBase
 {
 public:
   static int getStatusOfFile(const std::string& fileName);
-  static char *buildEmptyString(int lgth);
+  static char *buildEmptyString(std::size_t lgth);
   static void getDirAndBaseName(const std::string& fullName, std::string& dirName, std::string& baseName);
   static std::string getPathSep();
   static std::string joinPath(const std::string& dirName, const std::string& baseName);