From 6d2c3a549e3517efc7ee33733d1c027ae13c52df Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 2 Feb 2012 21:56:08 +0100 Subject: [PATCH] Another %ld -> %zu fix. --- examples/msg/io/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/msg/io/file.c b/examples/msg/io/file.c index c490eb0396..ed5ed3afc4 100644 --- a/examples/msg/io/file.c +++ b/examples/msg/io/file.c @@ -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); -- 2.20.1