if (first_pool == NULL) {
break;
}
- if (apr_atomic_casptr(&(qi->recycled_pools), first_pool->next,
+ if (apr_atomic_casptr((volatile void**)&(qi->recycled_pools), first_pool->next,
first_pool) == first_pool) {
apr_pool_destroy(first_pool->pool);
}
new_recycle->pool = pool_to_recycle;
for (;;) {
new_recycle->next = queue_info->recycled_pools;
- if (apr_atomic_casptr(&(queue_info->recycled_pools),
+ if (apr_atomic_casptr((volatile void**)&(queue_info->recycled_pools),
new_recycle, new_recycle->next) ==
new_recycle->next) {
break;
if (first_pool == NULL) {
break;
}
- if (apr_atomic_casptr(&(queue_info->recycled_pools), first_pool->next,
+ if (apr_atomic_casptr((volatile void**)&(queue_info->recycled_pools), first_pool->next,
first_pool) == first_pool) {
*recycled_pool = first_pool->pool;
break;