A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[sonar] Constify pointer and reference parameters in teshsuite/.
[simgrid.git]
/
teshsuite
/
msg
/
app-bittorrent
/
connection.c
diff --git
a/teshsuite/msg/app-bittorrent/connection.c
b/teshsuite/msg/app-bittorrent/connection.c
index
d632552
..
adef574
100644
(file)
--- 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(con
nection_t
connection, unsigned int piece)
+int connection_has_piece(con
st s_connection_t*
connection, unsigned int piece)
{
return (connection->bitfield & 1U << piece);
}