summaryrefslogtreecommitdiffstats
path: root/rfbserver.c
diff options
context:
space:
mode:
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);