\src\ngx_http_lua_directive.c
Line 937;
value = cf->args->elts;
- lmcf->init_worker_handler = cmd->post;
+ lmcf->init_worker_handler = (ngx_http_lua_conf_handler_pt) cmd->post;
if (cmd->post == ngx_http_lua_init_worker_by_file) {
\src\ngx_http_lua_module.c
Line 153;
ngx_http_lua_init_worker_by_lua,
NGX_HTTP_MAIN_CONF_OFFSET,
0,
- ngx_http_lua_init_worker_by_inline },
+ (void *) ngx_http_lua_init_worker_by_inline },
Line 160;
ngx_http_lua_init_worker_by_lua,
NGX_HTTP_MAIN_CONF_OFFSET,
0,
- ngx_http_lua_init_worker_by_file },
+ (void *) ngx_http_lua_init_worker_by_file },
Lemme know if these fixes are correct :)