Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Another %ld -> %zu fix.
[simgrid.git] / examples / msg / io / file.c
index c490eb0..ed5ed3a 100644 (file)
@@ -21,10 +21,10 @@ int host(int argc, char *argv[])
   XBT_INFO("Host '%s' open %p",MSG_host_get_name(MSG_host_self()), file);
 
   size_t read = MSG_file_read(NULL,0,0,file);
-  XBT_INFO("Host '%s' read %ld",MSG_host_get_name(MSG_host_self()),read);
+  XBT_INFO("Host '%s' read %zu", MSG_host_get_name(MSG_host_self()), read);
 
   size_t write = MSG_file_write(NULL,0,0,file);
-  XBT_INFO("Host '%s' write %ld",MSG_host_get_name(MSG_host_self()), write);
+  XBT_INFO("Host '%s' write %zu", MSG_host_get_name(MSG_host_self()), write);
 
   int res = MSG_file_stat(0,NULL);
   XBT_INFO("Host '%s' stat %d",MSG_host_get_name(MSG_host_self()), res);