Skip to content

Commit 35ba732

Browse files
committed
bugfix: fixed a compiler warning on type mismatch when dtrace USDT is enabled in the build.
1 parent 0aa0803 commit 35ba732

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ngx_http_lua_socket_tcp.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -4945,7 +4945,10 @@ ngx_http_lua_socket_push_input_data(ngx_http_request_t *r,
49454945
#endif
49464946

49474947
#if (NGX_DTRACE)
4948-
ngx_http_lua_probe_socket_tcp_receive_done(r, u, lua_tostring(L, -1), size);
4948+
ngx_http_lua_probe_socket_tcp_receive_done(r, u,
4949+
(const u_char *)
4950+
lua_tostring(L, -1),
4951+
size);
49494952
#endif
49504953

49514954
if (nbufs > 1 && ll) {

0 commit comments

Comments
 (0)