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
make it compile with -Werror by forcing a type casting
[simgrid.git]
/
src
/
smpi
/
smpi_base.c
diff --git
a/src/smpi/smpi_base.c
b/src/smpi/smpi_base.c
index
91cb599
..
1751f25
100644
(file)
--- a/
src/smpi/smpi_base.c
+++ b/
src/smpi/smpi_base.c
@@
-115,7
+115,7
@@
void smpi_mpi_start(MPI_Request request)
SIMIX_req_comm_isend(mailbox, request->size, -1.0,
request->buf, request->size,
&match_send,
SIMIX_req_comm_isend(mailbox, request->size, -1.0,
request->buf, request->size,
&match_send,
- &smpi_mpi_request_free, // how to free the userdata if a detached send fails
+
(void (*)(void *))
&smpi_mpi_request_free, // how to free the userdata if a detached send fails
request,
// detach if msg size < eager/rdv switch limit
detached);
request,
// detach if msg size < eager/rdv switch limit
detached);