On 12/12/2008 09:31 PM, chr...@apache.org wrote: > Author: chrisd > Date: Fri Dec 12 12:31:09 2008 > New Revision: 726113 > > URL: http://svn.apache.org/viewvc?rev=726113&view=rev > Log: > I'm not 100% sure about this, but it seems to silence the > compiler warnings generated by r101236 (which was, in turn, > intended to do the same). > > Modified: > httpd/httpd/trunk/server/mpm/worker/fdqueue.c > > Modified: httpd/httpd/trunk/server/mpm/worker/fdqueue.c > URL: > http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/worker/fdqueue.c?rev=726113&r1=726112&r2=726113&view=diff > ============================================================================== > --- httpd/httpd/trunk/server/mpm/worker/fdqueue.c (original) > +++ httpd/httpd/trunk/server/mpm/worker/fdqueue.c Fri Dec 12 12:31:09 2008 > @@ -43,7 +43,7 @@ > if (first_pool == NULL) { > break; > } > - if (apr_atomic_casptr((volatile void**)&(qi->recycled_pools), > first_pool->next, > + if (apr_atomic_casptr((void*)&(qi->recycled_pools), first_pool->next,
Not quite sure if this is really correct because apr_atomic_casptr wants to have a (volatile void**) as first parameter. Regards RĂ¼diger