X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6ade1c748396ae71562fd718e8409de61ab00148..91d05079e37bf2fdd32ee099cff06e2cae7c74cd:/examples/s4u/maestro-set/s4u-maestro-set.cpp diff --git a/examples/s4u/maestro-set/s4u-maestro-set.cpp b/examples/s4u/maestro-set/s4u-maestro-set.cpp index 51af163e8b..b6758ca27e 100644 --- a/examples/s4u/maestro-set/s4u-maestro-set.cpp +++ b/examples/s4u/maestro-set/s4u-maestro-set.cpp @@ -41,7 +41,7 @@ static void sender() { ensure_root_tid(); auto* payload = new std::string("some message"); - simgrid::s4u::Mailbox::by_name("some mailbox")->put((void*)payload, 10e8); + simgrid::s4u::Mailbox::by_name("some mailbox")->put(payload, 10e8); } static void receiver()