File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opal/mca/threads/argobots Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void opal_mutex_create(struct opal_mutex_t *m)
105
105
}
106
106
void * null_ptr = OPAL_ABT_MUTEX_NULL ;
107
107
if (opal_atomic_compare_exchange_strong_ptr (
108
- (intptr_t * )& m -> m_lock_argobots , (intptr_t * )& null_ptr ,
108
+ (opal_atomic_intptr_t * )& m -> m_lock_argobots , (intptr_t * )& null_ptr ,
109
109
(intptr_t )abt_mutex )) {
110
110
/* mutex is successfully created and substituted. */
111
111
return ;
@@ -121,7 +121,7 @@ static void opal_cond_create(opal_cond_t *cond)
121
121
ABT_cond new_cond ;
122
122
ABT_cond_create (& new_cond );
123
123
void * null_ptr = OPAL_ABT_COND_NULL ;
124
- if (opal_atomic_compare_exchange_strong_ptr ((intptr_t * )cond ,
124
+ if (opal_atomic_compare_exchange_strong_ptr ((opal_atomic_intptr_t * )cond ,
125
125
(intptr_t * )& null_ptr ,
126
126
(intptr_t )new_cond )) {
127
127
/* cond is successfully created and substituted. */
You can’t perform that action at this time.
0 commit comments