X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/56ef99a0f0332f8ee7a287df00ed74059a864b00..39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f:/src/mc/mc_state.cpp diff --git a/src/mc/mc_state.cpp b/src/mc/mc_state.cpp index 967d730983..6125c5e12f 100644 --- a/src/mc/mc_state.cpp +++ b/src/mc/mc_state.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2021. 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. */ @@ -44,7 +44,7 @@ Transition State::get_transition() const void State::copy_incomplete_comm_pattern() { incomplete_comm_pattern_.clear(); - for (auto i=0; i < mcapi::get().get_maxpid(); i++) { + for (unsigned long i = 0; i < mcapi::get().get_maxpid(); i++) { std::vector res; for (auto const& comm : incomplete_communications_pattern[i]) res.push_back(comm->dup());