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]
/
examples
/
s4u
/
async-waituntil
/
s4u-async-waituntil.cpp
diff --git
a/examples/s4u/async-waituntil/s4u-async-waituntil.cpp
b/examples/s4u/async-waituntil/s4u-async-waituntil.cpp
index
f2a7c83
..
d63273f
100644
(file)
--- a/
examples/s4u/async-waituntil/s4u-async-waituntil.cpp
+++ b/
examples/s4u/async-waituntil/s4u-async-waituntil.cpp
@@
-21,8
+21,8
@@
static void sender(int argc, char** argv)
{
xbt_assert(argc == 4, "Expecting 3 parameters from the XML deployment file but got %d", argc);
long messages_count = std::stol(argv[1]); /* - number of messages */
- double msg_size = std::sto
l
(argv[2]); /* - message size in bytes */
- long receivers_count = std::sto
d
(argv[3]); /* - number of receivers */
+ double msg_size = std::sto
d
(argv[2]); /* - message size in bytes */
+ long receivers_count = std::sto
l
(argv[3]); /* - number of receivers */
std::vector<simgrid::s4u::CommPtr> pending_comms;