Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/admin.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,9 @@ admin_th_listen_exit(struct sockaddr *cliaddr, int sock)
* Thread to communicate with peer
*/
void *
admin_th_network_peer(void *sock)
admin_th_network_peer(void *sock_ptr)
{
int32_t sock = *(int32_t *)sock_ptr;
int16_t n, bytes, i, fail, quantum;
int ret;
socklen_t len;
Expand Down Expand Up @@ -910,7 +911,7 @@ admin_th_network_peer(void *sock)
* Release resources and delete acquired terminal...
*/
void
admin_th_network_peer_exit(struct term_node *term_node, int sock)
admin_th_network_peer_exit(struct term_node *term_node, int32_t sock)
{
dlist_t *p;
struct interface_data *iface_data;
Expand Down