X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c8f375f14b9e04a4dd1767cb70c70b6dfc173f9c..7749be177cbd7d433ec389a155efff301969c6ee:/examples/deprecated/msg/mc/bugged2_liveness.c diff --git a/examples/deprecated/msg/mc/bugged2_liveness.c b/examples/deprecated/msg/mc/bugged2_liveness.c index 2b68854dfa..a1a7efa7b7 100644 --- a/examples/deprecated/msg/mc/bugged2_liveness.c +++ b/examples/deprecated/msg/mc/bugged2_liveness.c @@ -25,7 +25,7 @@ static int coordinator(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[ MSG_task_receive(&task, "coordinator"); const char *kind = MSG_task_get_name(task); //is it a request or a release? if (!strcmp(kind, "request")) { // that's a request - char *req = MSG_task_get_data(task); + const char* req = MSG_task_get_data(task); if (CS_used) { XBT_INFO("CS already used."); msg_task_t answer = MSG_task_create("not grant", 0, 1000, NULL);