]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mpm_winnt: Fix compilation error.
authorYann Ylavic <ylavic@apache.org>
Sun, 10 Jul 2022 16:58:00 +0000 (16:58 +0000)
committerYann Ylavic <ylavic@apache.org>
Sun, 10 Jul 2022 16:58:00 +0000 (16:58 +0000)
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

server/mpm/winnt/child.c

index 9b70d721b1f415beab71282804aedb76120df8b0..56b0f4d3d530f804fe5f5a1e8442237941184da4 100644 (file)
@@ -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)