From f64f37be002a4d7169dd4ac6a4bdeedc95ad261b Mon Sep 17 00:00:00 2001 From: Joseph Schuchart Date: Tue, 9 Jul 2024 17:54:07 -0400 Subject: [PATCH] Replace typeof() with size_t in loop header All uses of the `PREPARE_REQUESTS_WITH_NO_FREE` macro map to size_t. Signed-off-by: Joseph Schuchart --- ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c b/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c index 6da65f0cc7b..4d8481d883d 100644 --- a/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c +++ b/ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c @@ -20,7 +20,7 @@ static int vprotocol_pessimist_request_no_free(ompi_request_t **req) { } #define PREPARE_REQUESTS_WITH_NO_FREE(count, requests) do { \ - for (typeof(count) i = 0; i < count; i++) \ + for (size_t i = 0; i < count; i++) \ { \ if(requests[i] == MPI_REQUEST_NULL) continue; \ requests[i]->req_free = vprotocol_pessimist_request_no_free; \