Skip to content

Commit 0cfb4f2

Browse files
author
Ralph Castain
committed
Silence compiler warning
1 parent 7640507 commit 0cfb4f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/mca/osc/base/osc_base_obj_convert.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
1414
* Copyright (c) 2015 Research Organization for Information Science
1515
* and Technology (RIST). All rights reserved.
16-
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
16+
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
17+
* Copyright (c) 2015 Intel, Inc. All rights reserved.
1718
* $COPYRIGHT$
1819
*
1920
* Additional copyrights may follow
@@ -114,7 +115,7 @@ int ompi_osc_base_process_op (void *outbuf, void *inbuf, size_t inbuflen,
114115
iov_count = OMPI_OSC_BASE_DECODE_MAX;
115116
done = opal_convertor_raw (&convertor, iov, &iov_count, &size);
116117

117-
for (int i = 0 ; i < iov_count ; ++i) {
118+
for (uint32_t i = 0 ; i < iov_count ; ++i) {
118119
int primitive_count = iov[i].iov_len / primitive_size;
119120
ompi_op_reduce (op, inbuf, iov[i].iov_base, primitive_count, primitive_datatype);
120121
inbuf = (void *)((intptr_t) inbuf + iov[i].iov_len);

0 commit comments

Comments
 (0)