Skip to content

Commit f64f37b

Browse files
committed
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 <[email protected]>
1 parent f375299 commit f64f37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/vprotocol/pessimist/vprotocol_pessimist_wait.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static int vprotocol_pessimist_request_no_free(ompi_request_t **req) {
2020
}
2121

2222
#define PREPARE_REQUESTS_WITH_NO_FREE(count, requests) do { \
23-
for (typeof(count) i = 0; i < count; i++) \
23+
for (size_t i = 0; i < count; i++) \
2424
{ \
2525
if(requests[i] == MPI_REQUEST_NULL) continue; \
2626
requests[i]->req_free = vprotocol_pessimist_request_no_free; \

0 commit comments

Comments
 (0)