delete unneeded cast
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 32f120c..39bf57e 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c
@@ -321,7 +321,7 @@ case AF_INET6: sin6 = (struct sockaddr_in6 *) c->local_sockaddr; - addr6 = (ngx_http_in6_addr_t *) port->addrs; + addr6 = port->addrs; /* the last address is "*" */ @@ -360,7 +360,7 @@ #if (NGX_HAVE_INET6) case AF_INET6: - addr6 = (ngx_http_in6_addr_t *) port->addrs; + addr6 = port->addrs; addr_conf = &addr6[0].conf; break; #endif