$OpenBSD: patch-libvncserver_sockets_c,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $ --- libvncserver/sockets.c.orig Thu Dec 2 21:03:26 2004 +++ libvncserver/sockets.c Thu Dec 2 21:04:02 2004 @@ -195,7 +195,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,l fd_set fds; struct timeval tv; struct sockaddr_in addr; - size_t addrlen = sizeof(addr); + socklen_t addrlen = sizeof(addr); char buf[6]; const int one = 1; int sock;