Commit 0de9633c authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Terniaries are broken under MSVC, they never did resolve how to resolve
  the type of an obvious conversion like this one.  Even casting the const
  to an apr_port_t doesn't solve it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89730 13f79535-47bb-0310-9956-ffa450edef68
parent 6544d91a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ int ap_listen_open(process_rec *process, apr_port_t port)

    /* allocate a default listener if necessary */
    if (ap_listeners == NULL) {
	alloc_listener(process, NULL, port ? port : DEFAULT_HTTP_PORT);
	alloc_listener(process, NULL, (apr_port_t)(port ? port : DEFAULT_HTTP_PORT));
    }

    num_open = 0;