gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 160/208: curl_rtmp: fix a compiler warning


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 160/208: curl_rtmp: fix a compiler warning
Date: Wed, 09 Aug 2017 17:35:57 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 1cfa4cd4271093b6bb43ecedec60a0d704f85c96
Author: Johannes Schindelin <address@hidden>
AuthorDate: Fri Jul 7 11:52:48 2017 +0200

    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 <address@hidden>
---
 lib/curl_rtmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/curl_rtmp.c b/lib/curl_rtmp.c
index 2d7ce5ed2..97430647b 100644
--- a/lib/curl_rtmp.c
+++ b/lib/curl_rtmp.c
@@ -206,7 +206,7 @@ static CURLcode rtmp_connect(struct connectdata *conn, bool 
*done)
   RTMP *r = conn->proto.generic;
   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
    * connect request packet

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]