X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a9c7137c5855dfaf080dc89e5d2a3367019d0a5a..a1c2fd1f61bd5733f3ddb126713ec5da13f1e440:/examples/msg/app-bittorrent/peer.h diff --git a/examples/msg/app-bittorrent/peer.h b/examples/msg/app-bittorrent/peer.h index 4c28fc37a1..d08f1f2738 100644 --- a/examples/msg/app-bittorrent/peer.h +++ b/examples/msg/app-bittorrent/peer.h @@ -76,7 +76,7 @@ int partially_downloaded_piece(peer_t peer, connection_t remote_peer); void request_new_piece_to_peer(peer_t peer, connection_t remote_peer); void send_request_to_peer(peer_t peer, connection_t remote_peer, int piece); -void remove_current_piece(peer_t peer, connection_t remote_peer, int current_piece); +void remove_current_piece(peer_t peer, connection_t remote_peer, unsigned int current_piece); void update_active_peers_set(peer_t peer, connection_t remote_peer); int select_piece_to_download(peer_t peer, connection_t remote_peer);