mirror of
https://github.com/curl/curl.git
synced 2026-07-28 05:53:11 +03:00
http2: use the correct function pointer typedef
Fixes gcc-8 picky compiler warnings Reported-by: Rikard Falkeborn Bug: #2560 Closes #2568
This commit is contained in:
parent
07b9826541
commit
a5aa2bdf34
3 changed files with 18 additions and 22 deletions
|
|
@ -2141,8 +2141,8 @@ CURLcode Curl_http2_switched(struct connectdata *conn,
|
|||
if(result)
|
||||
return result;
|
||||
|
||||
httpc->recv_underlying = (recving)conn->recv[FIRSTSOCKET];
|
||||
httpc->send_underlying = (sending)conn->send[FIRSTSOCKET];
|
||||
httpc->recv_underlying = conn->recv[FIRSTSOCKET];
|
||||
httpc->send_underlying = conn->send[FIRSTSOCKET];
|
||||
conn->recv[FIRSTSOCKET] = http2_recv;
|
||||
conn->send[FIRSTSOCKET] = http2_send;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue