Skip to content

Commit 3de636d

Browse files
committed
Swap the 2 fields to maintain the size of the struct.
Thanks @devreal for catching this. Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
1 parent 59fb026 commit 3de636d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/datatype/opal_datatype_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ typedef struct ddt_elem_id_description ddt_elem_id_description;
156156
*/
157157
struct ddt_elem_desc {
158158
ddt_elem_id_description common; /**< basic data description and flags */
159-
size_t blocklen; /**< number of elements on each block */
160159
uint32_t count; /**< number of blocks */
160+
size_t blocklen; /**< number of elements on each block */
161161
ptrdiff_t extent; /**< extent of each block (in bytes) */
162162
ptrdiff_t disp; /**< displacement of the first block */
163163
};

0 commit comments

Comments
 (0)