]> git.kaiwu.me - nginx.git/commitdiff
Fixed compilation warnings on Windows after c93a0c48af87.
authorRoman Arutyunyan <arut@nginx.com>
Mon, 27 Oct 2025 17:16:49 +0000 (21:16 +0400)
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>
Tue, 28 Oct 2025 08:11:21 +0000 (12:11 +0400)
src/http/modules/ngx_http_headers_filter_module.c

index 93177c748b92076e9534379d28bc41126b779d75..f720440978ca23cfab3eb4e2de9285a30d496796 100644 (file)
@@ -688,8 +688,8 @@ ngx_http_headers_create_conf(ngx_conf_t *cf)
      */
 
     conf->expires = NGX_HTTP_EXPIRES_UNSET;
-    conf->headers_inherit = NGX_CONF_UNSET;
-    conf->trailers_inherit = NGX_CONF_UNSET;
+    conf->headers_inherit = NGX_CONF_UNSET_UINT;
+    conf->trailers_inherit = NGX_CONF_UNSET_UINT;
 
     return conf;
 }