Skip to content

Commit 7d334cf

Browse files
committed
Add missing pointer declaration
1 parent e8c4c58 commit 7d334cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ngx_http_lua_regex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1926,7 +1926,7 @@ ngx_http_lua_ngx_re_sub_helper(lua_State *L, unsigned global)
19261926

19271927
ngx_int_t
19281928
ngx_http_lua_ffi_set_jit_stack_size(int size, u_char *errstr,
1929-
size_t errstr_size)
1929+
size_t *errstr_size)
19301930
{
19311931
#if LUA_HAVE_PCRE_JIT
19321932

src/ngx_http_lua_regex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#if (NGX_PCRE)
1616
void ngx_http_lua_inject_regex_api(lua_State *L);
1717
ngx_int_t ngx_http_lua_ffi_set_jit_stack_size(int size, u_char *errstr,
18-
size_t errstr_size);
18+
size_t *errstr_size);
1919
#endif
2020

2121

0 commit comments

Comments
 (0)