From: Yann Ylavic Date: Fri, 5 Dec 2014 14:00:37 +0000 (+0000) Subject: mpm_event(opt): zero is immutable. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce64901426cab0bfc201370452537f465e964a76;p=thirdparty%2Fapache%2Fhttpd.git mpm_event(opt): zero is immutable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643284 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/fdqueue.c b/server/mpm/event/fdqueue.c index b9769f22e92..aad847038d0 100644 --- a/server/mpm/event/fdqueue.c +++ b/server/mpm/event/fdqueue.c @@ -17,7 +17,7 @@ #include "fdqueue.h" #include "apr_atomic.h" -static apr_uint32_t zero_pt = APR_UINT32_MAX/2; +static const apr_uint32_t zero_pt = APR_UINT32_MAX/2; struct recycled_pool { diff --git a/server/mpm/eventopt/fdqueue.c b/server/mpm/eventopt/fdqueue.c index 23f4523c39e..1a338adf948 100644 --- a/server/mpm/eventopt/fdqueue.c +++ b/server/mpm/eventopt/fdqueue.c @@ -17,7 +17,7 @@ #include "fdqueue.h" #include "apr_atomic.h" -static apr_uint32_t zero_pt = APR_UINT32_MAX/2; +static const apr_uint32_t zero_pt = APR_UINT32_MAX/2; typedef struct recycled_pool {