Skip to content

Commit a608e05

Browse files
committed
Silence compiler warning
Signed-off-by: Ralph Castain <[email protected]>
1 parent 95dacd2 commit a608e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/rcache/grdma/rcache_grdma_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static inline mca_rcache_base_registration_t *mca_rcache_grdma_remove_lru_head(m
187187
/* registration has been selected for removal and is no longer in the LRU. mark it
188188
* as such. */
189189
new_flags = (old_flags & ~MCA_RCACHE_GRDMA_REG_FLAG_IN_LRU) | MCA_RCACHE_FLAGS_INVALID;
190-
if (opal_atomic_compare_exchange_strong_32(&old_reg->flags, &old_flags, new_flags)) {
190+
if (opal_atomic_compare_exchange_strong_32((opal_atomic_int32_t*)&old_reg->flags, &old_flags, new_flags)) {
191191
break;
192192
}
193193
} while (1);

0 commit comments

Comments
 (0)