Skip to content

Commit a67e51b

Browse files
committed
coll/hcoll: fix OPAL_UNSIGNED_LONG datatype conversion
Signed-off-by: Tomislav Janjusic <tomislavj@nvidia.com>
1 parent c47d78d commit a67e51b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/coll/hcoll/coll_hcoll_dtypes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ static dte_data_representation_t* ompi_datatype_2_dte_data_rep[OPAL_DATATYPE_MAX
9393
&DTE_ZERO,
9494
#endif
9595
#if SIZEOF_LONG == 4
96-
&DTE_UINT32,
96+
&DTE_INT32,
9797
#else
98-
&DTE_UINT64, /*OPAL_DATATYPE_LONG 25 */
98+
&DTE_INT64, /*OPAL_DATATYPE_LONG 25 */
9999
#endif
100100
#if SIZEOF_UNSIGNED_LONG == 4
101101
&DTE_UINT32,

0 commit comments

Comments
 (0)