summaryrefslogtreecommitdiffstats
path: root/sockets.c
diff options
context:
space:
mode:
authordscho <dscho>2003-08-18 09:24:03 +0000
committerdscho <dscho>2003-08-18 09:24:03 +0000
commite66f28fcaa85ded2df9322f3e9e2de144918addb (patch)
treec62a6acab82e0200364fba26d0477c8818a4fea0 /sockets.c
parent7dc44503f68759d0c0975898f196a494f1bb665e (diff)
downloadlibvncserver-e66f28fcaa85ded2df9322f3e9e2de144918addb.zip
libvncserver-e66f28fcaa85ded2df9322f3e9e2de144918addb.tar.gz
socklen_t -> size_t
Diffstat (limited to 'sockets.c')
-rw-r--r--sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sockets.c b/sockets.c
index a13fcf6..9086326 100644
--- a/sockets.c
+++ b/sockets.c
@@ -195,7 +195,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec)
fd_set fds;
struct timeval tv;
struct sockaddr_in addr;
- socklen_t addrlen = sizeof(addr);
+ size_t addrlen = sizeof(addr);
char buf[6];
const int one = 1;
int sock;
OpenPOWER on IntegriCloud