Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add -Wextra to CFLAGS too.
[simgrid.git] / examples / smpi / NAS / DGraph.c
index ad4f682..452abc6 100644 (file)
@@ -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;