From d19029c26682d4c5ae520a8ee7bb34a7b18e5471 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 29 Feb 2012 10:20:58 +0100 Subject: [PATCH] xbt_dynar_length returns an unsigned long, not a size_t. --- examples/msg/io/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/msg/io/file.c b/examples/msg/io/file.c index 3cd1c8310a..29ebc857e2 100644 --- a/examples/msg/io/file.c +++ b/examples/msg/io/file.c @@ -42,7 +42,7 @@ int main(int argc, char **argv) xbt_dynar_t hosts = MSG_hosts_as_dynar(); MSG_function_register("host", host); - XBT_INFO("Number of host '%zu'",xbt_dynar_length(hosts)); + XBT_INFO("Number of host '%lu'",xbt_dynar_length(hosts)); for(i = 0 ; i