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
reduce the amount of casts
[simgrid.git]
/
src
/
kernel
/
routing
/
AsFloyd.cpp
diff --git
a/src/kernel/routing/AsFloyd.cpp
b/src/kernel/routing/AsFloyd.cpp
index
78d60e1
..
eb4c8ad
100644
(file)
--- a/
src/kernel/routing/AsFloyd.cpp
+++ b/
src/kernel/routing/AsFloyd.cpp
@@
-49,7
+49,7
@@
void AsFloyd::getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbar
/* create a result route */
xbt_dynar_t route_stack = xbt_dynar_new(sizeof(sg_platf_route_cbarg_t), nullptr);
int pred;
- int cur = dst->id();
+
unsigned
int cur = dst->id();
do {
pred = TO_FLOYD_PRED(src->id(), cur);
if (pred == -1)