- simgrid::kernel::activity::ActivityImpl* remote_comm;
- read_element(mc_model_checker->process(), &remote_comm, remote(simcall_comm_waitany__getraw__comms(req)),
- state->transition.argument, sizeof(remote_comm));
- mc_model_checker->process().read(state->internal_comm,
- remote(static_cast<simgrid::kernel::activity::CommImpl*>(remote_comm)));
+ simgrid::kernel::activity::CommImpl* remote_comm;
+ remote_comm =
+ mc_model_checker->process().read(remote(simcall_comm_waitany__get__comms(req) + state->transition.argument));
+ mc_model_checker->process().read(state->internal_comm, remote(remote_comm));