From 7ab38fd3064b5b7fe7668031dd314632ea05816b Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 15 Dec 2010 09:00:12 +0000 Subject: [PATCH] convert msg/replay to modern replay things even in the tracing parts (sorry) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9242 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/msg/actions/actions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/msg/actions/actions.c b/examples/msg/actions/actions.c index 3d13b5ea18..f14ebeb73b 100644 --- a/examples/msg/actions/actions.c +++ b/examples/msg/actions/actions.c @@ -76,7 +76,7 @@ static void action_send(char*const* action) #ifdef HAVE_TRACING int rank = get_rank(MSG_process_get_name(MSG_process_self())); - int dst_traced = get_rank(xbt_dynar_get_as(action, 2, char *)); + int dst_traced = get_rank(action[2]); TRACE_smpi_ptp_in(rank, rank, dst_traced, "send"); TRACE_smpi_send(rank, rank, dst_traced); #endif @@ -135,7 +135,7 @@ static void action_recv(char*const* action) #ifdef HAVE_TRACING int rank = get_rank(MSG_process_get_name(MSG_process_self())); - int src_traced = get_rank(xbt_dynar_get_as(action, 2, char *)); + int src_traced = get_rank(action[2]); TRACE_smpi_ptp_in(rank, src_traced, rank, "recv"); #endif @@ -164,7 +164,7 @@ static void action_Irecv(char*const* action) DEBUG1("Irecv on %s", MSG_process_get_name(MSG_process_self())); #ifdef HAVE_TRACING int rank = get_rank(MSG_process_get_name(MSG_process_self())); - int src_traced = get_rank(xbt_dynar_get_as(action, 2, char *)); + int src_traced = get_rank(action[2]); globals->last_Irecv_sender_id = src_traced; MSG_process_set_data(MSG_process_self(), (void *) globals); -- 2.20.1