X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28de1ff76a78ba4d87ea61d5d9fce01c6d035a18..8222f8d9049626eec0ff3e39bdef19b541eea164:/testsuite/xbt/graphxml_usage.c diff --git a/testsuite/xbt/graphxml_usage.c b/testsuite/xbt/graphxml_usage.c index cf89b3cb6b..61ed6d555b 100644 --- a/testsuite/xbt/graphxml_usage.c +++ b/testsuite/xbt/graphxml_usage.c @@ -10,6 +10,12 @@ #pragma hdrstop #endif +#include + +#ifdef _MSC_VER +#define snprintf _snprintf +#endif + #include "xbt/module.h" #include "xbt/sysdep.h" #include "xbt/graph.h" @@ -43,7 +49,7 @@ void test(char *graph_file) int test_shortest_paths = 1; int test_topo_sort = 1; - int i, j; + unsigned long i, j; unsigned long n; xbt_dynar_t edges = NULL;