]> AND Private Git Repository - loba.git/blobdiff - communicator.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Use tr1/functional for sorting the hosts.
[loba.git] / communicator.cpp
index 080842619541038f29bba85cfc051a28a8a531d5..649ff806b6e4529b94144e0e127c9646200fab74 100644 (file)
@@ -64,11 +64,11 @@ communicator::~communicator()
     if (data_comm)
         XBT_WARN("data_comm is pending!");
     if (!received.empty())
-        XBT_WARN("lost %lu received message%s!",
-                 (unsigned long )received.size(), ESSE(received.size()));
+        XBT_WARN("lost %zu received message%s!",
+                 received.size(), ESSE(received.size()));
     if (!sent_comm.empty())
-        XBT_WARN("lost %lu sent message%s!",
-                 (unsigned long )sent_comm.size(), ESSE(sent_comm.size()));
+        XBT_WARN("lost %zu sent message%s!",
+                 sent_comm.size(), ESSE(sent_comm.size()));
 
     xbt_cond_destroy(cond);
     xbt_mutex_destroy(mutex);