From e6d70ea7bc3ab38326d7ffa7e46f20c16ac73910 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Fri, 5 Dec 2014 14:00:37 +0000 Subject: [PATCH] mpm_event(opt): zero is immutable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643284 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/event/fdqueue.c | 2 +- server/mpm/eventopt/fdqueue.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mpm/event/fdqueue.c b/server/mpm/event/fdqueue.c index b9769f22e9..aad847038d 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 23f4523c39..1a338adf94 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 { -- 2.40.0