A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some long -> double faulty convertions reported by sonar
[simgrid.git]
/
src
/
xbt
/
config.cpp
diff --git
a/src/xbt/config.cpp
b/src/xbt/config.cpp
index 8d05c901dd2a06332d5556e85db610c511aade33..e3b4f9a385634db0ee9d621a34f05235b7a842a5 100644
(file)
--- a/
src/xbt/config.cpp
+++ b/
src/xbt/config.cpp
@@
-97,7
+97,7
@@
template <class T> class ConfigType;
template <> class ConfigType<int> {
public:
static constexpr const char* type_name = "int";
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);
}
{
return parse_long(value);
}