]> granicus.if.org Git - apache/commitdiff
Silence compiler warnings in the same manner as for the
authorChris Darroch <chrisd@apache.org>
Fri, 12 Dec 2008 20:35:32 +0000 (20:35 +0000)
committerChris Darroch <chrisd@apache.org>
Fri, 12 Dec 2008 20:35:32 +0000 (20:35 +0000)
worker MPM; see r726113.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726114 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/fdqueue.c

index 21005043940a06c4830e4e5525681cf85a48b62f..10015b7d39d705f3b9b9a4772166e44f69e6b877 100644 (file)
@@ -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;