X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/26ba5558401021cb3854f2f1a5ffedd7044f6823..0d1793876e776f0901bc1a3df7afcccb8ac84a35:/teshsuite/msg/app-bittorrent/connection.c diff --git a/teshsuite/msg/app-bittorrent/connection.c b/teshsuite/msg/app-bittorrent/connection.c index d632552be1..adef5741fe 100644 --- a/teshsuite/msg/app-bittorrent/connection.c +++ b/teshsuite/msg/app-bittorrent/connection.c @@ -39,7 +39,7 @@ void connection_free(void* data) xbt_free(co); } -int connection_has_piece(connection_t connection, unsigned int piece) +int connection_has_piece(const s_connection_t* connection, unsigned int piece) { return (connection->bitfield & 1U << piece); }