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
Sorry but need to have type size_t.
[simgrid.git]
/
src
/
simix
/
smx_network.c
diff --git
a/src/simix/smx_network.c
b/src/simix/smx_network.c
index
fcc8c7f
..
fb73403
100644
(file)
--- a/
src/simix/smx_network.c
+++ b/
src/simix/smx_network.c
@@
-444,13
+444,13
@@
XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf(smx_comm_t comm)
{
return comm->dst_buff;
}
-XBT_PUBLIC(
void *
) SIMIX_communication_get_src_buf_size(smx_comm_t comm)
+XBT_PUBLIC(
size_t
) SIMIX_communication_get_src_buf_size(smx_comm_t comm)
{
- return
(void *)
comm->src_buff_size;
+ return comm->src_buff_size;
}
-XBT_PUBLIC(
void *
) SIMIX_communication_get_dst_buf_size(smx_comm_t comm)
+XBT_PUBLIC(
size_t
) SIMIX_communication_get_dst_buf_size(smx_comm_t comm)
{
- return
(void *)
(comm->dst_buff_size);
+ return
*
(comm->dst_buff_size);
}
/******************************************************************************/