X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/509ed39fb4a45e2d53f855613a3639000b278f62..16925d4563b0fd3a17dc7c05f91c9439e6fb2462:/teshsuite/msg/app-chainsend/iterator.c diff --git a/teshsuite/msg/app-chainsend/iterator.c b/teshsuite/msg/app-chainsend/iterator.c index 8db67b8300..a96a090c1e 100644 --- a/teshsuite/msg/app-chainsend/iterator.c +++ b/teshsuite/msg/app-chainsend/iterator.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2012-2019. 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. */ @@ -29,7 +29,7 @@ void* xbt_dynar_iterator_next(xbt_dynar_iterator_t it) if (it->current >= it->length) { return NULL; } else { - int* next = xbt_dynar_get_ptr(it->indices_list, it->current); + const int* next = xbt_dynar_get_ptr(it->indices_list, it->current); it->current++; return xbt_dynar_get_ptr(it->list, *next); }