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
Misc sonar issues.
[simgrid.git]
/
src
/
mc
/
remote
/
Channel.cpp
diff --git
a/src/mc/remote/Channel.cpp
b/src/mc/remote/Channel.cpp
index
c7d57fe
..
63a6393
100644
(file)
--- a/
src/mc/remote/Channel.cpp
+++ b/
src/mc/remote/Channel.cpp
@@
-50,7
+50,7
@@
ssize_t Channel::receive(void* message, size_t size, int flags)
{
size_t bufsize = buffer_.size();
ssize_t copied = 0;
-
char
* whereto = static_cast<char*>(message);
+
auto
* whereto = static_cast<char*>(message);
size_t todo = size;
if (bufsize > 0) {
XBT_DEBUG("%d %zu bytes (of %zu expected) are already in buffer", getpid(), bufsize, size);