X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f4e9ed55bfc9d01e829ebc51112a0c55bf042624..d94f920eb99dc33e8c592e89bcbbb3a8e50fe919:/examples/c/app-chainsend/chainsend.h diff --git a/examples/c/app-chainsend/chainsend.h b/examples/c/app-chainsend/chainsend.h index 84caabb612..9366babcae 100644 --- a/examples/c/app-chainsend/chainsend.h +++ b/examples/c/app-chainsend/chainsend.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2020. The SimGrid Team. +/* Copyright (c) 2012-2022. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -16,8 +16,7 @@ #include "xbt/log.h" #include "xbt/str.h" - -#include +#include "xbt/sysdep.h" /* Connection parameters */ #define MAX_PENDING_COMMS 256 @@ -28,7 +27,7 @@ /* Broadcaster struct */ typedef struct s_broadcaster { unsigned int host_count; - int piece_count; + unsigned int piece_count; sg_mailbox_t first; sg_mailbox_t* mailboxes; sg_comm_t* pending_sends;