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
Add -Wextra to CFLAGS too.
[simgrid.git]
/
examples
/
smpi
/
NAS
/
DGraph.c
diff --git
a/examples/smpi/NAS/DGraph.c
b/examples/smpi/NAS/DGraph.c
index
ad4f682
..
452abc6
100644
(file)
--- a/
examples/smpi/NAS/DGraph.c
+++ b/
examples/smpi/NAS/DGraph.c
@@
-54,7
+54,8
@@
DGraph* newDGraph(char* nm){
}
int AttachNode(DGraph* dg, DGNode* nd) {
- int i=0,j,len=0;
+ int i = 0, j;
+ unsigned len = 0;
DGNode **nds =NULL, *tmpnd=NULL;
DGArc **ar=NULL;