From: Chris Darroch Date: Fri, 12 Dec 2008 20:35:32 +0000 (+0000) Subject: Silence compiler warnings in the same manner as for the X-Git-Tag: 2.3.1~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae49bdc1ec78bfdc46cd61b664157c108e927514;p=thirdparty%2Fapache%2Fhttpd.git Silence compiler warnings in the same manner as for the worker MPM; see r726113. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726114 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/event/fdqueue.c b/server/mpm/experimental/event/fdqueue.c index 21005043940..10015b7d39d 100644 --- a/server/mpm/experimental/event/fdqueue.c +++ b/server/mpm/experimental/event/fdqueue.c @@ -50,7 +50,7 @@ static apr_status_t queue_info_cleanup(void *data_) break; } if (apr_atomic_casptr - ((volatile void **) &(qi->recycled_pools), first_pool->next, + ((void*) &(qi->recycled_pools), first_pool->next, first_pool) == first_pool) { apr_pool_destroy(first_pool->pool); } @@ -209,7 +209,7 @@ void ap_push_pool(fd_queue_info_t * queue_info, struct recycled_pool *next = queue_info->recycled_pools; new_recycle->next = next; if (apr_atomic_casptr - ((volatile void **) &(queue_info->recycled_pools), + ((void*) &(queue_info->recycled_pools), new_recycle, next) == next) { break; } @@ -238,7 +238,7 @@ void ap_pop_pool(apr_pool_t ** recycled_pool, fd_queue_info_t * queue_info) break; } if (apr_atomic_casptr - ((volatile void **) &(queue_info->recycled_pools), + ((void*) &(queue_info->recycled_pools), first_pool->next, first_pool) == first_pool) { *recycled_pool = first_pool->pool; break;