X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdbea07317b41dd76a512fbc5d3ef25e1e7d4284..dcdf664682e926bc945f7dea46d4cc672d38498c:/src/mc/remote/Channel.cpp diff --git a/src/mc/remote/Channel.cpp b/src/mc/remote/Channel.cpp index c7d57feef0..63a6393e43 100644 --- 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(message); + auto* whereto = static_cast(message); size_t todo = size; if (bufsize > 0) { XBT_DEBUG("%d %zu bytes (of %zu expected) are already in buffer", getpid(), bufsize, size);