Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix format string and args.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 24 Oct 2012 13:17:59 +0000 (15:17 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 24 Oct 2012 13:17:59 +0000 (15:17 +0200)
examples/msg/bittorrent/messages.c

index cf4759d..b5ecc88 100644 (file)
@@ -27,7 +27,7 @@ msg_task_t task_message_new(e_message_type type, const char *issuer_host_name,
   message->mailbox = mailbox;
   message->type = type;
   msg_task_t task = MSG_task_create(NULL, 0, size, message);
   message->mailbox = mailbox;
   message->type = type;
   msg_task_t task = MSG_task_create(NULL, 0, size, message);
-  XBT_DEBUG("type: %d size: %.20Lg (%d)", type, size, size);
+  XBT_DEBUG("type: %d size: %d", (int)type, size);
   return task;
 }
 
   return task;
 }