summaryrefslogtreecommitdiff
blob: 931a5c7938a558ce37630e16597ca4ba259f5383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/socket.c
+++ src/socket.c
@@ -75,15 +75,15 @@
 static int socket_udp2way_connectmessage(socketbuf *);
 static int socket_udp2way_listener_data_process(socketbuf *,
 						struct sockaddr_in *,
-						size_t,signed char *,int);
+						socklen_t,signed char *,int);
 static int socket_udp2way_reader_data_process(socketbuf *,
 					      struct sockaddr_in *,
-					      size_t,signed char *,int);
+					      socklen_t,signed char *,int);
 
 static int socket_udp2way_stun_start(socketbuf *);
 static int socket_udp2way_stun_start_stage1(socketbuf *);
 static int socket_udp2way_reader_stun_process(socketbuf *,
-					      struct sockaddr_in *,size_t,
+					      struct sockaddr_in *,socklen_t,
 					      signed char *,int,int);
 static int socket_udp2way_stun_ping(socketbuf *);