-/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2014-2023. 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. */
size_t host_count = sg_host_count();
sg_host_t* hosts = sg_host_list();
- for (long i = 0; i < host_count; i++) {
+ for (size_t i = 0; i < host_count; i++) {
unsigned int disk_count;
sg_disk_t* disks;
sg_host_get_disks(hosts[i], &disk_count, &disks);
simgrid_run();
- for (long i = 0; i < host_count; i++) {
+ for (size_t i = 0; i < host_count; i++) {
unsigned int disk_count;
sg_disk_t* disks;
sg_host_get_disks(hosts[i], &disk_count, &disks);