mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
curl_rtmp: fix a compiler warning
The headers of librtmp declare the socket as `int`, and on Windows, that disagrees with curl_socket_t. Bug: #1652 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
0018221532
commit
1cfa4cd427
@ -206,7 +206,7 @@ static CURLcode rtmp_connect(struct connectdata *conn, bool *done)
|
|||||||
RTMP *r = conn->proto.generic;
|
RTMP *r = conn->proto.generic;
|
||||||
SET_RCVTIMEO(tv, 10);
|
SET_RCVTIMEO(tv, 10);
|
||||||
|
|
||||||
r->m_sb.sb_socket = conn->sock[FIRSTSOCKET];
|
r->m_sb.sb_socket = (int)conn->sock[FIRSTSOCKET];
|
||||||
|
|
||||||
/* We have to know if it's a write before we send the
|
/* We have to know if it's a write before we send the
|
||||||
* connect request packet
|
* connect request packet
|
||||||
|
Loading…
Reference in New Issue
Block a user