Skip to content

Commit 67ccb23

Browse files
committed
Make _ucount int instead of size_t in mpi_image_info
The struct stores offsets in a struct so there is no reason why this should be size_t. The compiler warns about a comparison `<0` for size_t in `ompi_field_offset`. Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
1 parent 2fbeaa7 commit 67ccb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/debuggers/ompi_common_dll_defs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ typedef struct
247247
int MPI_TAG;
248248
int MPI_ERROR;
249249
int _cancelled;
250-
size_t _ucount;
250+
int _ucount;
251251
} offset;
252252
} ompi_status_public_t;
253253
/* datatype structure */

0 commit comments

Comments
 (0)