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
@ -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…
x
Reference in New Issue
Block a user