A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put double instead of size_t.
[simgrid.git]
/
examples
/
msg
/
io
/
file.c
diff --git
a/examples/msg/io/file.c
b/examples/msg/io/file.c
index
b419a3a
..
e899d95
100644
(file)
--- a/
examples/msg/io/file.c
+++ b/
examples/msg/io/file.c
@@
-60,7
+60,7
@@
int host(int argc, char *argv[])
XBT_INFO("\tHaving read %zu \ton %s",read,file->name);
MSG_file_stat(file,&stat);
XBT_INFO("\tHaving read %zu \ton %s",read,file->name);
MSG_file_stat(file,&stat);
- XBT_INFO("\tFile stat %s Size %
d",file->name,(int)
stat.size);
+ XBT_INFO("\tFile stat %s Size %
f",file->name,
stat.size);
XBT_INFO("\tClose file '%s'",file->name);
MSG_file_close(file);
XBT_INFO("\tClose file '%s'",file->name);
MSG_file_close(file);