Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Files still broken, but at least in the right directory
[simgrid.git] / src / config_unit.c
index f2b6138..f1931ea 100644 (file)
@@ -2,12 +2,13 @@
 /* GENERATED FILE, DO NOT EDIT */
 /*******************************/
 
+#include <stdio.h>
 #include "xbt.h"
 /*******************************/
 /* GENERATED FILE, DO NOT EDIT */
 /*******************************/
 
-# 1143 "xbt/config.c" 
+# 1145 "xbt/config.c" 
 #include "xbt.h"
 #include "xbt/ex.h"
 
@@ -95,7 +96,7 @@ XBT_TEST_UNIT("use",test_config_use,"Data retrieving tests") {
     dyn = xbt_cfg_get_dynar(myset,"user");
 
     if (xbt_dynar_length(dyn) != 3) 
-      xbt_test_fail1("Dynar length = %d, I expected 3", (int)xbt_dynar_length(dyn));
+      xbt_test_fail1("Dynar length = %lu, I expected 3", xbt_dynar_length(dyn));
 
     if (strcmp(xbt_dynar_get_as(dyn,0,char*),"foo"))
       xbt_test_fail1("Dynar[0] = %s, I expected foo",   xbt_dynar_get_as(dyn,0,char*));