}
/* Receiver actor expects 1 argument: its ID */
-static void receiver(int argc, char** argv)
+static void receiver(int, char**)
{
double sleep_start_time = 1.0;
double sleep_test_time = 0.1;
comm->wait();
}
- std::string* received = static_cast<std::string*>(payload);
+ const std::string* received = static_cast<std::string*>(payload);
XBT_INFO("I got a '%s'.", received->c_str());
if (*received == "finalize")
cont = false; // If it's a finalize message, we're done.