From b4e100c635317aa78edddfe6ae8f8c0feb69b2a4 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 30 Jan 2016 23:08:09 +0100 Subject: [PATCH] Make it compile on 32bits, to please @degomme --- src/simdag/sd_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simdag/sd_global.cpp b/src/simdag/sd_global.cpp index 053a0fc0fe..eeb898cad0 100644 --- a/src/simdag/sd_global.cpp +++ b/src/simdag/sd_global.cpp @@ -273,7 +273,7 @@ xbt_dynar_t SD_simulate(double how_long) { if (!sd_global->watch_point_reached && how_long<0){ if (!xbt_dynar_is_empty(sd_global->initial_task_set)) { - XBT_WARN("Simulation is finished but %zu tasks are still not done", + XBT_WARN("Simulation is finished but %lu tasks are still not done", xbt_dynar_length(sd_global->initial_task_set)); static const char* state_names[] = { "SD_NOT_SCHEDULED", "SD_SCHEDULABLE", "SD_SCHEDULED", "SD_RUNNABLE", "SD_RUNNING", "SD_DONE","SD_FAILED" }; -- 2.20.1