1
1

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>
Этот коммит содержится в:
George Bosilca 2019-11-07 11:18:01 -05:00
родитель 59fb02618e
Коммит 3de636dc6f

Просмотреть файл

@ -156,8 +156,8 @@ typedef struct ddt_elem_id_description ddt_elem_id_description;
*/
struct ddt_elem_desc {
ddt_elem_id_description common; /**< basic data description and flags */
size_t blocklen; /**< number of elements on each block */
uint32_t count; /**< number of blocks */
size_t blocklen; /**< number of elements on each block */
ptrdiff_t extent; /**< extent of each block (in bytes) */
ptrdiff_t disp; /**< displacement of the first block */
};