X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fe304706848f0a64477d4687b3ea97d5b9a0c35c..f7416c885321b8233e9ac6da5450f97468e94dac:/src/mc/mc_comm_pattern.hpp diff --git a/src/mc/mc_comm_pattern.hpp b/src/mc/mc_comm_pattern.hpp index 15b9a72153..68a42e545d 100644 --- a/src/mc/mc_comm_pattern.hpp +++ b/src/mc/mc_comm_pattern.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -43,9 +43,9 @@ enum e_mc_comm_pattern_difference_t { DATA_DIFF, }; -static inline e_mc_call_type_t MC_get_call_type(smx_simcall_t req) +static inline e_mc_call_type_t MC_get_call_type(const s_smx_simcall* req) { - switch (req->call) { + switch (req->call_) { case SIMCALL_COMM_ISEND: return MC_CALL_TYPE_SEND; case SIMCALL_COMM_IRECV: