Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix some long -> double faulty convertions reported by sonar
[simgrid.git] / src / xbt / config.cpp
index 8d05c90..e3b4f9a 100644 (file)
@@ -97,7 +97,7 @@ template <class T> class ConfigType;
 template <> class ConfigType<int> {
 public:
   static constexpr const char* type_name = "int";
-  static inline double parse(const char* value)
+  static inline int parse(const char* value)
   {
     return parse_long(value);
   }