mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
tcp: use socklen_t where appropriate rather than specific type
In particular, fixes Cygwin build where socklen_t is defined as int in line with native win32 api definition.
This commit is contained in:
parent
505fa27159
commit
e5e09844ea
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ gst_tcp_server_sink_handle_server_read (GstTCPServerSink * sink)
|
|||
/* new client */
|
||||
int client_sock_fd;
|
||||
struct sockaddr_in client_address;
|
||||
unsigned int client_address_len;
|
||||
socklen_t client_address_len;
|
||||
|
||||
/* For some stupid reason, client_address and client_address_len has to be
|
||||
* zeroed */
|
||||
|
|
Loading…
Reference in a new issue