From: Yann Ylavic Date: Sun, 10 Jul 2022 16:58:00 +0000 (+0000) Subject: mpm_winnt: Fix compilation error. X-Git-Tag: 2.5.0-alpha2-ci-test-only~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f36af9db99bb405e1accd5777f335d3027c2676;p=thirdparty%2Fapache%2Fhttpd.git mpm_winnt: Fix compilation error. server\mpm\winnt\child.c(1210,1): error C2440: 'initializing': cannot convert from 'worker_info' to 'worker_info *' git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902636 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index 9b70d721b1f..56b0f4d3d53 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -1207,7 +1207,7 @@ void child_main(apr_pool_t *pconf, DWORD parent_pid) while (threads_created) { - struct worker_info *info = workers[threads_created - 1]; + struct worker_info *info = &workers[threads_created - 1]; DWORD dwRet; if (time_remains < 0)