-/* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
MSG_create_environment(argv[1]);
- XBT_INFO("There are %d hosts in the environment", MSG_get_host_number());
+ XBT_INFO("There are %zu hosts in the environment", MSG_get_host_number());
xbt_dynar_t hosts = MSG_hosts_as_dynar();
xbt_dynar_foreach (hosts, i, host) {