mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +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 */
|
/* new client */
|
||||||
int client_sock_fd;
|
int client_sock_fd;
|
||||||
struct sockaddr_in client_address;
|
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
|
/* For some stupid reason, client_address and client_address_len has to be
|
||||||
* zeroed */
|
* zeroed */
|
||||||
|
|
Loading…
Reference in a new issue