X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/de30dba5106391865d3f7fe96bb6e6782f0ee5b5..36246161381665fecb9a5a074b081d8d712f94e6:/src/simix/smx_network.c diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 8280532477..e396a2df0f 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -372,7 +372,7 @@ void SIMIX_pre_comm_test(smx_req_t req) } } -void SIMIX_pre_comm_testany(smx_req_t req, unsigned int idx) +void SIMIX_pre_comm_testany(smx_req_t req, int idx) { unsigned int cursor; smx_action_t action; @@ -380,7 +380,7 @@ void SIMIX_pre_comm_testany(smx_req_t req, unsigned int idx) req->comm_testany.result = -1; if (MC_IS_ENABLED){ - if((int)idx == -1){ + if(idx == -1){ SIMIX_request_answer(req); }else{ action = xbt_dynar_get_as(actions, idx, smx_action_t); @@ -402,7 +402,7 @@ void SIMIX_pre_comm_testany(smx_req_t req, unsigned int idx) SIMIX_request_answer(req); } -void SIMIX_pre_comm_waitany(smx_req_t req, unsigned int idx) +void SIMIX_pre_comm_waitany(smx_req_t req, int idx) { smx_action_t action; unsigned int cursor = 0;