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
Type consistency.
[simgrid.git]
/
src
/
mc
/
remote
/
Channel.cpp
diff --git
a/src/mc/remote/Channel.cpp
b/src/mc/remote/Channel.cpp
index
3a0c4eb
..
6eaf30d
100644
(file)
--- a/
src/mc/remote/Channel.cpp
+++ b/
src/mc/remote/Channel.cpp
@@
-36,7
+36,7
@@
int Channel::send(const void* message, size_t size) const
ssize_t Channel::receive(void* message, size_t size, bool block) const
{
ssize_t Channel::receive(void* message, size_t size, bool block) const
{
-
in
t res = recv(this->socket_, message, size, block ? 0 : MSG_DONTWAIT);
+
ssize_
t res = recv(this->socket_, message, size, block ? 0 : MSG_DONTWAIT);
if (res != -1)
XBT_DEBUG("Receive %s", MC_message_type_name(*(e_mc_message_type*)message));
return res;
if (res != -1)
XBT_DEBUG("Receive %s", MC_message_type_name(*(e_mc_message_type*)message));
return res;