Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Compile fix, size_t != int in 64 bits
authorcristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 20 May 2010 14:29:35 +0000 (14:29 +0000)
committercristianrosa <cristianrosa@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 20 May 2010 14:29:35 +0000 (14:29 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7782 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/Msg/sg_msg.c

index 6566719..e0b020b 100644 (file)
@@ -32,7 +32,7 @@ gras_msg_t gras_msg_recv_any(void) {
   xbt_dynar_foreach(trp_proc->sockets,cursor,sock) {
     sock_data = (gras_trp_sg_sock_data_t *) sock->data;
     if (sock_data->comm_recv) {
   xbt_dynar_foreach(trp_proc->sockets,cursor,sock) {
     sock_data = (gras_trp_sg_sock_data_t *) sock->data;
     if (sock_data->comm_recv) {
-      INFO2("Copy %p of size %d",sock_data->comm_recv,sizeof(smx_comm_t));
+      INFO2("Copy %p of size %lu",sock_data->comm_recv,sizeof(smx_comm_t));
       xbt_dynar_push(comms,&(sock_data->comm_recv));
     }
   }
       xbt_dynar_push(comms,&(sock_data->comm_recv));
     }
   }