diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2018-05-14 09:38:56 +0200 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-14 12:44:20 +0200 | 
| commit | a5aa2bdf348391ee79bcbd9f43166f4a7dd4ed52 (patch) | |
| tree | 7e6e6b236c04fb903abe266eed0c0c854a3e621f /lib/http2.c | |
| parent | 07b9826541ec429433495d237301d59a5d8bfd22 (diff) | |
http2: use the correct function pointer typedef
Fixes gcc-8 picky compiler warnings
Reported-by: Rikard Falkeborn
Bug: #2560
Closes #2568
Diffstat (limited to 'lib/http2.c')
| -rw-r--r-- | lib/http2.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/http2.c b/lib/http2.c index 62b109293..ef93e6560 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -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; | 
