X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0e9c0448c6566825b170b98ecff716b098bda10e..4d64abe69dfcd0fe7c7a01a2f5e6fcd0084e98ec:/examples/msg/io/file_unlink.c?ds=sidebyside diff --git a/examples/msg/io/file_unlink.c b/examples/msg/io/file_unlink.c index ec901daaef..bb74c9f02b 100644 --- a/examples/msg/io/file_unlink.c +++ b/examples/msg/io/file_unlink.c @@ -21,7 +21,6 @@ #include #include "msg/msg.h" #include "surf/surf_private.h" -#include "inttypes.h" int host(int argc, char *argv[]); @@ -32,7 +31,7 @@ int host(int argc, char *argv[]) { msg_file_t file = NULL; char* mount = xbt_strdup("/home"); - sg_storage_size_t write; + sg_size_t write; // First open XBT_INFO("\tOpen file '%s'",FILENAME1); @@ -48,7 +47,7 @@ int host(int argc, char *argv[]) // Write into the new file write = MSG_file_write(file,100000); // Write for 100Ko - XBT_INFO("\tHave written %" PRIu64 " on %s",write,file->fullname); + XBT_INFO("\tHave written %llu on %s",write,file->fullname); // Close the file XBT_INFO("\tClose file '%s'",file->fullname);