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
[sonar] Explicit cast when loosing precision (teshsuite/).
[simgrid.git]
/
teshsuite
/
xbt
/
parmap_bench
/
parmap_bench.cpp
diff --git
a/teshsuite/xbt/parmap_bench/parmap_bench.cpp
b/teshsuite/xbt/parmap_bench/parmap_bench.cpp
index
c57a9b1
..
789ee42
100644
(file)
--- a/
teshsuite/xbt/parmap_bench/parmap_bench.cpp
+++ b/
teshsuite/xbt/parmap_bench/parmap_bench.cpp
@@
-128,7
+128,7
@@
int main(int argc, char* argv[])
}
timeout = atof(argv[2]);
if (argc == 4)
- modes = st
rtol(argv[2], NULL, 0
);
+ modes = st
atic_cast<unsigned>(strtoul(argv[2], NULL, 0)
);
XBT_INFO("Parmap benchmark with %d workers (modes = %#x)...", nthreads, modes);
XBT_INFO("%s", "");