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
Better fix to the comparison between signed and unsigned int around dynar size: chang...
[simgrid.git]
/
src
/
amok
/
Bandwidth
/
bandwidth.c
diff --git
a/src/amok/Bandwidth/bandwidth.c
b/src/amok/Bandwidth/bandwidth.c
index a1a8623ab954eca5195d0793c6a00ef4c96cb477..f8ea7b713f0cd0f73d25d6101cb01f81f8885de0 100644
(file)
--- a/
src/amok/Bandwidth/bandwidth.c
+++ b/
src/amok/Bandwidth/bandwidth.c
@@
-490,7
+490,8
@@
double * amok_bw_matrix(xbt_dynar_t peers,
/* construction of matrices for bandwith and latency */
- int i,j,len=xbt_dynar_length(peers);
+ unsigned int i,j;
+ int len=xbt_dynar_length(peers);
double *matrix_res = xbt_new0(double, len*len);
xbt_peer_t p1,p2;