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 (C examples).
[simgrid.git]
/
examples
/
c
/
cloud-masterworker
/
cloud-masterworker.c
diff --git
a/examples/c/cloud-masterworker/cloud-masterworker.c
b/examples/c/cloud-masterworker/cloud-masterworker.c
index
c58c30d
..
1e54f2d
100644
(file)
--- a/
examples/c/cloud-masterworker/cloud-masterworker.c
+++ b/
examples/c/cloud-masterworker/cloud-masterworker.c
@@
-21,7
+21,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(cloud_masterworker, "Messages specific for this exa
#define FINALIZE 221297 /* a magic number to tell people to stop working */
const double comp_size = 10000000;
-const
double comm_size
= 10000000;
+const
long comm_size
= 10000000;
static void send_tasks(int nb_workers)
{