summaryrefslogtreecommitdiffstats
path: root/rfbserver.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 /rfbserver.c
parent7dc44503f68759d0c0975898f196a494f1bb665e (diff)
downloadlibtdevnc-e66f28fcaa85ded2df9322f3e9e2de144918addb.tar.gz
libtdevnc-e66f28fcaa85ded2df9322f3e9e2de144918addb.zip
socklen_t -> size_t
Diffstat (limited to 'rfbserver.c')
-rw-r--r--rfbserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfbserver.c b/rfbserver.c
index d841c20..7ce086d 100644
--- a/rfbserver.c
+++ b/rfbserver.c
@@ -227,7 +227,7 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP)
rfbClientIteratorPtr iterator;
rfbClientPtr cl,cl_;
struct sockaddr_in addr;
- socklen_t addrlen = sizeof(struct sockaddr_in);
+ size_t addrlen = sizeof(struct sockaddr_in);
int i;
cl = (rfbClientPtr)calloc(sizeof(rfbClientRec),1);